Single Choice
Moderate
QName a Java data type.
ID: #25887
MCQ Quiz - Class 8 - Programming
5 views
Question Info
#25887Q ID
ModerateDifficulty
MCQ Quiz - Class 8 - ProgrammingTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
Correct Answer Explanation:
'int' is a Java primitive data type used for integer values.
Why the other options are incorrect:
- Option B: 'sum' is a variable name, not a data type.
- Option C: 'score' is a variable name, not a data type.
- Option D: 'class' is a keyword to define classes, not a data type.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic