+ 1
Can anyone help me to understand difference between inheritance and interface?
I am confused in understanding inheritance & interface.
2 ответов
+ 3
Interface are abstract type in Java, it basically declares behaviours that must be implemented by the class which is inheriting from it.
Inheritance is when a class extends another class or implements interface.
0
Thank u