A class in the Java API

A class in the Java API


a. can be both a superclass and a subclass
b. can be inherited only by other classes in the Java API
c. can have only one subclass
d. can be inherited only by user-defined classes


Answer: a. can be both a superclass and a subclass


Learn More :