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

Java Programming Language >   DataTypes in java >   Application of OOP  

Short Question

988


Answer:

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


This Particular section is dedicated to Question & Answer only. If you want learn more about Java Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.