in Java retagged by
33,282 views
2 votes
2 votes

Which of the following is false about abstract classes in Java?

  1. If we derive an abstract class and do not implement all the abstract methods, then the derived class should also be marked as abstract using 'abstract' keyword.
  2. Abstract classes can have constructors.
  3. A class can be made abstract without any abstract method.
  4. A class can inherit from multiple abstract classes.
in Java retagged by
by
33.3k views

1 Answer

1 vote
1 vote

Multiple inheritance through classes isn't allowed through classes, but allowed through interface. D is wrong.

All other are correct.

Good read:

https://www.geeksforgeeks.org/abstract-classes-in-java/

Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true