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

Question :

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

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


Similar Questions


Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad