3
Reply

An abstract with only abstract method how is it different from interface????

Vipin Mittal

Vipin Mittal

7y
1.6k
2
Reply

    no, abstract class can have abstract and non abstract methods. interface is contract and abstract is incomplete class

    Abstract class can have constructor which may assign soe value to its data members. An abstract class also can inherit from another abstract class. These 2 features are not available in interfaces

    if that was the case i prefer directly interface instead of abstract...