Question OOP-ABS-0047
MediumWhen should you choose an abstract class over an interface in Java?
- A.
When unrelated classes need a common capability
- B.
When related classes share code or state that the base can provide
- C.
When you need multiple inheritance of types
- D.
Never
Sign up free to see the answer and a step-by-step explanation.