Start learning →

What value does a Java reference variable hold when pointing to nothing?

Anull literal
Bzero integer
Cempty string
Dvoid literal
Answer & Solution
Correct answer: A. null literal
A reference variable in Java holds the value null when not pointing to an object.
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 →