extends keyword in java
- 17th Aug 2017
- 0
- 2735
- extends keyword in java with an example how to use extends keyword in java when to use extends keyword
The ” extends ” keyword is used in a class or interface declaration to indicate that the class or interface being declared is a subclass of the class or interface whose name follows the extends keyword. In other words, When declaring a class/interface as a subclass of another class/interface, the extends keyword is used. Example […]