210k views
0 votes
A program uses two classes: dog and poodle. which class is the base class and which is the derived class?

2 Answers

2 votes
Dog is the base class and poodle is the derived class.
There had to be dog in order for there to be poodle, because poodle is a dog(meaning poodle came from dog).
Therefore, poodle is a type of dog, so it derived from the dog.
Example; without your parents there would be no you, so you derived from your parents.
User Nagri
by
5.4k points
3 votes
Dog is the base class and poodle is the derived class. 
User Auris
by
6.6k points