PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which term is used to describe this object-oriented concept?

The Dog class and the Cat class inherit from the Animal class. The Animal class includes a
breathe() method and a speak() method. If the speak() method is called from an object of
type Dog, the result is a bark. If the speak() method is called from an object of type Cat, the
result is a meow.
Which term is used to describe this object-oriented concept?

Select "No change is needed" if the underlined text makes the statement correct.

This question requires that you evaluate the underlined text to determine if it is correct.
Converting a value type to a reference type in an object is called boxing.
Select the correct answer if the underlined text does not make the statement correct. Select
“No change is needed” if the underlined text makes the statement correct.