Entries Tagged 'Interface' ↓

What is an Abstract Class and Interface

An Abstract Class is a special class which cannot be instantiated. It used to create more general class. So a subclass can inherit it and create more specialized version of the abstract class.

An Interface is not a class. If you need to implement an interface then you need to provide implementation for all the methods it provides.