News
In your sample programme you have initialised a=1.2 and you need precisely the value 1.2 be assigned to a. Here the java compiler gets a little confused as it is expecting double since you need ...
Both data types represent numbers with decimals, but a float is 32 bits in size while a double is 64 ... Java treats the number as a double. For example, both of the following lines of code fail to ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results