1.

What is the default value of float and double datatype in Java?

Answer»

Default value of float and double datatype in different as compared to C/C++. For float its 0.0f and for double it’s 0.0d



Discussion

No Comment Found