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.