Ad Code

Difference in abstract class and interface class?


Write Different between abstract class and interface class?

Interfaces are essentially having all method prototypes no definition but Abstract class can contain method definitions also. When the sub-types behavior is totally different then you use an interface, when the sub-types behavior is partially common and different with respect to the super type an abstract class is used.
Reactions

Post a Comment

0 Comments