What is the difference between a superclass and a subclass in Java?
A. A superclass is a class that is derived from a subclass, while a subclass is a class that is derived from a superclass.
B. A superclass is a class that has more functionality than a subclass, while a subclass is a class that has less functionality than a superclass.
C. A superclass is a class that is higher up in the class hierarchy than a subclass, while a subclass is a class that is lower down in the class hierarchy than a superclass.
D. None of the above.
Answer:C
What is the difference between a superclass and a subclass in Java?
A. A superclass is a class that is derived from a subclass, while a subclass is a class that is derived from a superclass. B. A superclass is a class that has more functionality than a subclass, while a subclass is a class that has less functionality than a superclass. C. A superclass is a class that is higher up in the class hierarchy than a subclass, while a subclass is a class that is lower down in the class hierarchy than a superclass. D. None of the above.