Ask Question
9 August, 23:35

Which of the following is true? a) A subclass inherits methods from its superclass but not instance variables. b) A subclass inherits instance variables from its superclass but not methods. c) A subclass inherits methods and instance variables from its superclass. d) A subclass does not inherit methods or instance variables from its superclass.

+5
Answers (1)
  1. 10 August, 00:59
    0
    c) A subclass inherits methods and instance variables from its super class.

    Explanation:

    A subclass is the class that is based on the secondary or a sub-levels of the class and is arranged in as taxonomy order of events and a subclass inherited all the members of the methods. And the nested as a class and the constructors are not a member and this re not inherited by the subclass but the constructors can involved form the subclass.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which of the following is true? a) A subclass inherits methods from its superclass but not instance variables. b) A subclass inherits ...” in 📙 Social Studies if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers