Question: Which of the following clauses allows a derived class named Cat to have the same attributes and behaviors as its base class, which is named
Which of the following clauses allows a derived class named Cat to have the same attributes and behaviors as its base class, which is named Animal?
a. Inherited Animal
b. Inherits Animal
c. Inherited Cat
d. Inherits Cat
Step by Step Solution
3.30 Rating (162 Votes )
There are 3 Steps involved in it
b I... View full answer
Get step-by-step solutions from verified subject matter experts
