yes Inheritance means getting the properties of one class object to another class object.
here in the concept of the interface we donโt have any properties at all, and we implement unrealized methods of the interface in the class ...
therefore inheritance and intefaces are completely opposite ...
so finally java only supports multiple inheritance syntax, doesn't support multiple inheritance implementation ....
Inheritance is like a debit, and the interface is like a credit .... but the interface has its meaning in other concepts, such as server-side programming ...
user1906155
source share