2)Which of the following is true regarding subclasses? a) A subclass that inheri
ID: 3656732 • Letter: 2
Question
2)Which of the following is true regarding subclasses? a) A subclass that inherits methods from its superclass may not override the methods. b) A subclass that inherits instance variables from its superclass may not declare additional instance variables. c) A subclass may inherit methods or instance variables from its superclass but not both. d) A subclass may inherit methods and instance variables from its superclass, and may also implement its own methods and declare its own instance variables.Explanation / Answer
d) A subclass may inherit methods and instance variables from its superclass, and may also implement its own methods and declare its own instance variables.