Question: A subclass can extend a class by adding new properties and methods. For example: class Student extends Person { / / code } In the
A subclass can extend a class by adding new properties and methods. For example: class Student extends Person code In the above example, Student is the subclass but what is Person called? A subclass can extend a class by adding new properties and methods. For example: class Student extends Person code In the above example, Student is the subclass but what is Person called? Principle class Sister class Also subclass The superclass
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
