Start learning →

How does Java classify its built-in String data type?

APrimitive data type
BComposite data type
CScalar boolean type
DHardware float type
Answer & Solution
Correct answer: B. Composite data type
Java treats the String class as a composite data type with special literal support.
Practise this question with Quill — ICSE Class 10 →

Keep practising String Handling and Wrapper Classes

Browse all String Handling and Wrapper Classes questions for ICSE Class 10, or explore more Computer Applications topics.

Start a String Handling and Wrapper Classes lesson →