Sunday, January 17, 2016

Casting part 4 (Final Casting Lesson)

Hi All...!

This is my last post about the Casting cause I think now you guys can manage casting part in Java program. Up to this I have shown you how to cast "int" data type variables in to "byte", "short" and ''long" data type variables in to "int". Today I'm going to teach you how to cast "double" in to "float".

Following is the code,


In my next post I will teach you about the data type conversion.

No comments:

Post a Comment