Answers

Question and Answer:

  Home  Analyst Integration

⟩ What is the difference between an interface and an abstract class?

This is the most classical question of all programming interviews. An interface is the purest form of abstraction with nothing concrete in place, while an abstract class is a combination of some abstraction and concrete things. The difference may vary depending upon language e.g. in Java you can extend multiple interface but you can only extend on abstract class. For a more comprehensive discussion see the detailed answer.

 204 views

More Questions for you: