What class members does the derived class Dog inherit from the base class Animal?

```class Animal
{
private:
string AnimalType;
int age;
public:
Animal();
SetAnimalType(string at) {AnimalType = at;}
SetAge(string a) {age = a;}
};

class Dog: public Animal
{
private:
string DogType;
public:
Dog() {;}
SetDogType(string dt) {DogType = dt;}
}; ```
A. AnimalType;
B. SetAnimalType and SetAge;
C. age;
D. All of the above.


B

Computer Science & Information Technology

You might also like to view...

Which of the following masks is appropriate for a masked text box into which the user will enter a license plate consisting of two digits followed by 4 letters?

(A) &&LLLL (B) &&&&&& (C) 00LLLL (D) None of the above

Computer Science & Information Technology

What are the five steps in the interview preparation process?

What will be an ideal response?

Computer Science & Information Technology

ExecuteDataMacro is an action that can be chosen in the Macro Designer

Indicate whether the statement is true or false

Computer Science & Information Technology

When a destination file that was linked to another file is reopened, a(n) ________ dialog box appears

A) Paste Special B) Security Notice C) malware notice D) Update

Computer Science & Information Technology