A program creates an Animal object named dog. Which of the following calls the displayBreed method, which

Question:

A program creates an Animal object named dog. Which of the following calls the displayBreed method, which is a public member method contained in the Animal class? 

a. Animal::displayBreed(); 

b. displayBreed(); 

c. dog::displayBreed(); 

d. dog.displayBreed();

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

Step by Step Answer:

Question Posted: