In simple words
extends mens you catch up your parent class method and veriables in child class . For instance, you can use your father's mobile phone.
Implementation mens (define) method that are delcare in interface.
Alpha5and5 #SCREW YOU CHEMISTRY you are right with the help of interface you can achive multiple inheritance But Still You Can't Survive the Diamond Problem. For instance if you have same method in the both interface (I, j) and you implemented both interface in a same class than tell me which interface method will be called.
Extends is used to extend a class with members of another class. It offers the class some class members from another class in case the current class needs them.
Implements is used to give interface information to a class. I'm not sure where interfaces are really used.
implements for interfaces
extends for classes
(I deleted my previous message due conflict.)
Sumit Programmer😎😎 and Seb TheS gave a nice answer but there is also you can achieve multiple inheritance using interface which is not possible in classes which mean you can implement multiple interfaces but not classes.
Alpha5and5 #SCREW YOU CHEMISTRY Does it really "inherit" their content?
Do implemented interfaces have any other effects than just raising an error when the implemented interface members aren't defined?
In simple word
If a child class inherit parent class then we use "extends"
When one class inherit interface then we usually use "inplements".
If one interface inherit another interface we use "extends".
Class --(extends)--> Class
Interface --(extends)--> Interface
Class --(implements)--> Interface
I think this answer will help you!