Single Choice Moderate

Qint in Java stores:

ID: #25819 MCQ Quiz - Class 8 - Programming 20 views
Question Info
#25819Q ID
ModerateDifficulty
MCQ Quiz - Class 8 - ProgrammingTopic

Choose the Best Option

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

  • A Integer values
  • B Text
  • C Decimal values
  • D Characters
Correct Answer

Explanation

Correct Answer Explanation:

'int' stores integer (whole number) values in Java — like 5, -100, 42, 1000. No decimals allowed.

Why the other options are incorrect:

  • Option B: Text is stored in String, not int.
  • Option C: Decimals are stored in float or double.
  • Option D: Single characters are stored in char.

Share This Question

Challenge a friend or share with your study group.