Object-oriented programming (OOPs) Question:
Whats the Difference between Interface and Abstract Class?

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.
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? |