Single Choice
Moderate
QWhich is used for text of multiple characters?
ID: #25823
MCQ Quiz - Class 8 - Programming
6 views
Question Info
#25823Q 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:
String stores text with multiple characters, like 'Hello World'. In Java, String is a class.
Why the other options are incorrect:
- Option B: int is for integers only.
- Option C: char stores only ONE character.
- Option D: double is for decimal numbers.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic