Start learning →

Why are primitive data types not considered objects in Java?

ATo avoid compilation
BFor performance reasons
CTo restrict mutation
DFor backwards syntax
Answer & Solution
Correct answer: B. For performance reasons
Java treats primitive data types separately from objects to optimize execution performance.
Practise this question with Quill — ICSE Class 8 →

Keep practising Java Data Types and Variables

Browse all Java Data Types and Variables questions for ICSE Class 8, or explore more Computer Applications topics.

Start a Java Data Types and Variables lesson →