Answer:
a. A class can be both a subclass and a superclass at the same time. b. Every class is a subclass of the object class. c. Common features should be located as high in the inheritance hierarchy as possible. d. The toString and equals methods are inherited by all classes. e. The type of the reference, not the type of the object, is used to determine which version of an override method is invoked.
Author:
amigogonzalez
Rate an answer:
3Answer:
One of the fundamental ideas in object-oriented programming (OOP) languages is inheritance.
Explanation:
Inheritance in object-oriented programming:
Thus, programmers can construct classes by building on existing classes and specifying a new implementation while keeping the same characteristics due to inheritance.
Know more on inheritance, click on the below link
https://brainly.in/question/3384200
To know on the difference between object oriented and object based programming, click on the below link
https://brainly.in/question/5172113
Author:
lunacallahan
Rate an answer:
10