Question OOP-ABS-0055
MediumCan an abstract method be private in Java?
- A.
No; it must be overridable by subclasses
- B.
Yes
- C.
Only if it is static
- D.
Only in interfaces
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
Can an abstract method be private in Java?
No; it must be overridable by subclasses
Yes
Only if it is static
Only in interfaces
Sign up free to see the answer and a step-by-step explanation.