An advantage of inheritance is that: ( ) A: Objects of a subclass can be treated like objects of their superclass. B: All methods can be inherited. C: All instance variables can be uniformly accessed by subclasses and superclasses. D: None of the above.
An advantage of inheritance is that: ( ) A: Objects of a subclass can be treated like objects of their superclass. B: All methods can be inherited. C: All instance variables can be uniformly accessed by subclasses and superclasses. D: None of the above.
1