According to the following, which statement is true? private void ShowAnimalInfo(Animal animal) { } Question 12 options: It has an Animal variable as its parameter. You cannot pass an Animal object to...



According to the following, which statement is true?


private void ShowAnimalInfo(Animal animal) { }



Question 12 options:





























It has an Animal variable as its parameter.










You cannot pass an Animal object to the method when you call it.










You cannot pass Dog objects although Dog is a class derived from Animal.










All of the above.






Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here