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

Short Answer
Views 913

Answer:

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

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.