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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!