Analyst Integration Question:

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

Tweet Share WhatsApp

Answer:

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.

Download Integration Programmer PDF Read All 87 Integration Programmer Questions
Previous QuestionNext Question
What is a stateless system?Can you describe difference between correlated and non-correlated subquery?