OOPS
August 29, 2024
OOPS
August 29, 2024
OOPS
August 29, 2024
OOPS
August 29, 2024

OOPS

Question 144
Which of the following is false about abstract classes in java?
A
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
B
Abstract classes can have constructors.
C
A class can be made abstract without any abstract method
D
A class can inherit from multiple abstract classes
Question 144 Explanation: 
● An abstract class can have an abstract method without body and it can have methods with implementation also.
● Multiple inheritance is not possible with abstract classes.
Correct Answer: D
Question 144 Explanation: 
● An abstract class can have an abstract method without body and it can have methods with implementation also.
● Multiple inheritance is not possible with abstract classes.

Leave a Reply

Your email address will not be published. Required fields are marked *