Question: In Java, Interfaces are considered more flexible than abstract classes for which one of the following reasons? (select one option listed below) - A class
In Java, Interfaces are considered more flexible than abstract classes for which one of the following reasons? (select one option listed below)
| - | A class can implement an unlimited number of interfaces but can only extend one class. |
| - | An interface can have both abstract and concrete methods but an abstract class can have only abstract methods. |
| - | An interface can have variable data members but an abstract class cannot. |
| - | An interface can model a strong is-a relationship while an abstract class cannot. |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
