Q.

Which of the following is true in the case of abstract class

A. Abstract constructors cannot be created.
B. Abstract classes can not be inherited.
C. An abstract class contains only abstract methods.
D. All of the above.
Answer» A. Abstract constructors cannot be created.
2.2k
0
Do you find this helpful?
6

View all MCQs in

Java Programming

Discussion

Amit Pachange
4 months ago

Optios A "Abstract constructors cannot be created" is correct but just for info we can create constructor of abstract class but not directly. We have to extend abstract class by other class then we can call the constructor by using super()
0