Question OOP-ABS-0026
EasyIn Java, can an abstract class contain ordinary methods with bodies?
- A.
No, only abstract methods
- B.
Only static methods
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Abstraction and Interfaces question
In Java, can an abstract class contain ordinary methods with bodies?
No, only abstract methods
Only static methods
Sign up free to see the answer and a step-by-step explanation.
Yes
Only if it has no fields