Question: solve it 7- Does a subclass inherit both member variables and methods ? a) No--only methods are inherited. b) No--only member variables are inherited. C)Yes--but
7- Does a subclass inherit both member variables and methods ? a) No--only methods are inherited. b) No--only member variables are inherited. C)Yes--but only one or the other are inherited. d) Yes--both are inherited
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
