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. SetAnimalType and SetAge;

Computer Science & Information Technology

You might also like to view...

Social bookmarking is a method for sharing favorite web pages, websites, online articles, videos, and the like, with friends and colleagues

Indicate whether the statement is true or false

Computer Science & Information Technology

You have just removed 1,700 rows from a table that were no longer needed. In order to save the changes you've made to the database, which of the following statements are used?

A. commit B. set transaction C. rollback D. savepoint

Computer Science & Information Technology