An Abstract Class can contain default Implementation where as an Interface should not contain any implementation at all. An Interface should contain only definitions but no implementation. where as an abstract class can contain abstract and non-abstract methods. When a class inherits from an abstract the derived class must implement all the abstract methods declared in the base class. an abstract class can inherit from another non-abstract class.
This comment has been removed by the author.
ReplyDelete