Morgan Stanley interview question

Difference between interface and abstract

Interview Answer

Anonymous

Oct 16, 2016

A class can implement any number of interfaces but inherit only from one abstract class. An interface supports multiple inheritance but abstract class not Interfaces can extend any number of interfaces at a time but abstract only one abstract class or class at a time. abstract class can have both abstract and concrete methods but interfaces can have only abstract methods.

1