Question: 1. Which of the following clauses allows a derived class named Cat to have the same attributes and behaviors as its base class, which is
1. 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
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
