Which of the following clauses allows a derived class named Cat to have the same attributes and

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 Animal?

a. Inherited Animal

b. Inherits Animal

c. Inherited Cat

d. Inherits Cat

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: