What is a Sub class

Sub class: It is a class which extends its super class. The sub-class inherits all the members of its super class. All Java classes are the sub-classes of Object class, which is at the root of inheritance hierarchy.

   Related Questions in Programming Languages

©TutorsGlobe All rights reserved 2022-2023.