Start learning →

What data type is assigned to the null literal in the Java language?

AHas no data type
BReference type
CObject class type
DPrimitive void type
Answer & Solution
Correct answer: A. Has no data type
The null literal in Java has no type of its own, neither primitive nor class.
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 →