04-27-2011, 10:41 PM
float is a java’s native data type it is used to save the values with the decimal.
In this line of code we are telling the compiler that convert the result of the calculation to float and save in the area. This is called type casting in simple words Type Casting refers to changing an entity of one datatype into another.
In this line of code we are telling the compiler that convert the result of the calculation to float and save in the area. This is called type casting in simple words Type Casting refers to changing an entity of one datatype into another.
0300-9520262
Get solution in 24 hour |cpmputer & internet
mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
