Please explain in an easy to understand language or a link to some article.
Extends
is used when you want attributes of parent class/interface in your child class/interface and implements
is used when you want attributes of an interface in your class.
Example:
Extends using class
class Parent{
}
class Child extends Parent{
}
Extends using interface
interface Parent{
}
interface Child extends Parent{
}
Implements
interface A{
}
class B implements A{
}
Combination of extends and implements
interface A{
}
class B
{
}
class C implements A,extends B{
}