Articles to Challenge, Encourage and Direct Christian Living
Abstract Class Vs Interface
AnAbstract Classcan contain defaultImplementation, where as anInterfaceshould not contain anyimplementationat all. AnInterfaceshould contain only definitions but noimplementation. where as anabstract classcan contain abstract and non-abstract methods. When a class inherits from an abstract, thederived classmust implement all the abstract methods declared in the base class. anabstract classcan inherit from another non-abstract class.