1.

Abstract class cannot have a constructor.(a) True(b) FalseI have been asked this question in unit test.My enquiry is from Constructor topic in chapter Classes and Methods of Java

Answer»

The correct OPTION is (B) False

Explanation: No instance can be created of ABSTRACT class. Only pointer can hold instance of OBJECT.



Discussion

No Comment Found

Related InterviewSolutions