Object-oriented programming (OOPs) Question:
Download Job Interview Questions and Answers PDF
Whats the Difference between Interface and Abstract Class?
![OOP Interview Answer OOP Interview Question](https://globalguideline.com/public/images/interview/31.png)
Answer:
Abstract Class:
Have constructors.
Not necessarily for the class inheriting it to Implement all the Methods.
Doesn't Support Multiple Inheritance.
Where everything is Opposite in the Interfaces.
Have constructors.
Not necessarily for the class inheriting it to Implement all the Methods.
Doesn't Support Multiple Inheritance.
Where everything is Opposite in the Interfaces.
Download OOP Interview Questions And Answers
PDF
Previous Question | Next Question |
What are the various types of Constructor | What can you do to make class available for inheritance but you need to prevent its method to come in inheritance chain? |