Exam 13: Object-Oriented Programming: Polymorphism

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

What mistake prevents the following class declaration from functioning properly as an abstract class? Class Shape { Public: Virtual double print) const; Double area) const { return base * height; } Private: Double base; Double height; };

(Multiple Choice)
4.7/5
(45)

Dynamic_cast is often used to:

(Multiple Choice)
4.8/5
(35)

Downcasting enables:

(Multiple Choice)
4.9/5
(46)
Showing 21 - 23 of 23
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)