Question: what is the difference between extends and implements
difference between extends and implements
1)Extends keyword is used to implement the concept of inheritance in Java programming language while Implements keyword in Java programming language is used for implementing an interface by a class.
2)Extents is used when creating a subclass while implements is used when implementing an interface.
3)You can only extend one class in java, but you can implement many interfaces.