Question: c++ Question 22 A _____ of a base class expects to be overridden in a derived class. constructor function destructor function static function virtual function

c++

Question 22

A _____ of a base class expects to be overridden in a derived class.

constructor function

destructor function

static function

virtual function

Question 23

When member functions behave differently, depending upon which object performed the call, this is an example of _____.

chaos theory

virtual insubordination

polymorphism

encapsulation

Question 24

Abstract class references can be used in polymorphism if _____.

all objects created in the abstract references are child (derived) objects

all objects created in the abstract references use the new keyword

all objects created in the abstract references are created on the memory stack

It is not possible to use abstract class references in polymorphism.

Question 25

These are used to signal errors or unexpected events that occur while a program is running.

Virtual functions

Destructors

Exceptions

Templates

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!