Start learning →

Why can the class java.lang.Void not be instantiated in Java?

Avoid cannot type objects
BIt is marked abstract
CIt lacks class fields
DIt requires arguments
Answer & Solution
Correct answer: A. void cannot type objects
The Void class cannot be instantiated because void cannot be the type of any object.
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 →