All Subjects
Light
AP Computer Science A
Class I is a class that extends another class, in this case, class H. It inherits all the properties and methods of class H and can add its own unique features.
A superclass is the class that is being extended by another class. In this case, class H is the superclass of Class I.
A subclass is a class that extends another class. In this case, Class I is the subclass of Class H.
Inheritance allows classes to acquire properties and methods from another class. This enables code reuse and promotes modularity.