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

Choose the Best Option

Click any option to instantly check if you're correct.

  • A int
  • B sum
  • C score
  • D class
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.

Share This Question

Challenge a friend or share with your study group.