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.
Answer: (D)
Explanation:
Quiz of this Question
Recommended Posts:
- Java | Abstract Class and Interface | Question 2
- Java | Abstract Class and Interface | Question 3
- Difference between Abstract Class and Concrete Class in Java
- Abstract Classes in Java
- Why Java Interfaces Cannot Have Constructor But Abstract Classes Can Have?
- Inheritance of Interface in Java with Examples
- Java | Class and Object | Question 1
- Java | Class and Object | Question 2
- Java | Class and Object | Question 4
- Java | Class and Object | Question 4
- Java | Class and Object | Question 5
- Java | Class and Object | Question 6
- Java | Class and Object | Question 7
- Java | Java Packages | Question 3
- Java | Inheritance | Question 1
- Java | final keyword | Question 1
- Java | Inheritance | Question 2
- Java | Inheritance | Question 3
- Java | Inheritance | Question 4
- Java | Inheritance | Question 5

