class versus interface

Class vs Interface Java

We know Java supports three types of classes – Concrete, abstract and interfaces. After summarizing the difference between abstract classes and interfaces, let us tabulate the difference between classes and interfaces. Class Interface Supports only multilevel and hierarchical inheritances but not multiple inheritance Supports all types of inheritance – multilevel,…