nerdexam
Microsoft

98-361 · Question #73

This question requires that you evaluate the underlined text to determine if it is correct. Converting an object to a more general type is called upcasting. Select the correct answer if the…

The correct answer is A. No change is needed. Casting up a hierarchy means casting from a derived object reference to a base object reference.

Understanding Object-Oriented Programming

Question

This question requires that you evaluate the underlined text to determine if it is correct. Converting an object to a more general type is called upcasting. 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.

Options

  • ANo change is needed
  • Bdowncasting
  • Cinterfacing
  • Dflexing

How the community answered

(30 responses)
  • A
    80% (24)
  • B
    10% (3)
  • C
    3% (1)
  • D
    7% (2)

Explanation

Casting up a hierarchy means casting from a derived object reference to a base object reference.

Topics

#upcasting#type conversion#casting#inheritance hierarchy

Community Discussion

No community discussion yet for this question.

Full 98-361 Practice