Single Choice
Easy
QWhat is the default value of a long datatype in Java?
ID: #22197
long - Data Type in Java
84 views
Question Info
#22197Q ID
EasyDifficulty
long - 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 long datatype in Java is 0. If you declare a long variable without initializing it explicitly, it will be set to zero by default.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic