Single Choice
Easy
QWhat is the default value of a float datatype in Java?
ID: #22198
float - Data Type in Java
105 views
Question Info
#22198Q ID
EasyDifficulty
float - Data Type in JavaTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
The default value of a float datatype in Java is 0.0. If you declare a float variable without assigning a value to it, it will automatically be initialized to zero point zero.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic