COMPLETE QUESTION
Which of the following is false?
a. A subclass is often larger than its super class.
b. A super class is object is a subclass object.
c. The class following the extends keyword in a class declaration is that direct super class of the class being declared.
d. Java uses interfaces to provide the benefits of multiple inheritance
Answer:
B) A super class is object is a subclass object.
Explanation:
In object oriented programming, the concept of inheritance is greatly utilized, this refers to deriving a class from another class. The derived class is the sub-class and it is derived from its super class, as a matter of fact in Java programming language, all classes are derived from some other class. Objects are made from classes with their state (fields) and behavior (methods) since objects are made from classes, the objects of the super class will not be the same as that of the subclass.