extends keyword in java

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 […]

Share this article on