To create a sub class (child) from a Java super class (parent), the keyword extends is used. You then follow the “extends” keyword with the parent class you want to extend.
Read moreWhat does Extends mean in Java?
The extends keyword extends a class (indicates that a class is inherited from another class ). In Java, it is possible to inherit attributes and methods from one class to another. We group the “inheritance concept” into two categories: subclass (child) – the class that inherits from another class.
Read more