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.
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.