A derived class is a Java class that inherits properties from its super class. For example, an Employee class might be derived from a Person class. Therefore the Employee class could inherit first name and last name properties from Person, its super class. The following eight steps show how to write a derived class in Java.

Leave a Reply

Your email address will not be published. Required fields are marked *