Chapter 15 Polymorphism and Virtual Functions

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

type cast

A base class pointer needs a(n) ________ to be assigned to a derived class pointer.

abstract class

A class that cannot be instantiated is a(n) _______.

abstract class

A class with at least one pure virtual member function is called a(n) ______.

Application Framework

A collection of abstract classes defining an application in skeletal form is called a(n) _______.

pure virtual

A member function of a class that is not implemented is called a(n) _______ function.

run

Dynamic binding takes place at ______-time.

inheritance

If every C1 class object can be used as a C2 class object, the relationship between the two classes should be implemented using _______.

virtual

In order to use dynamic binding, a member function of a class needs to be declared as a(n) _____ function.

compile

Static binding takes place at _______ time.

polymorphism

The ability of code to execute differently depending on the type of data is called ______.

composition

The has-a relation between classes is best implemented using the mechanism of class _______.

inheritance

The is-a relation between classes is best implemented using the mechanism of class _______.


संबंधित स्टडी सेट्स

French 1 - (1-2) Lesson 1A, Culture

View Set

Research Methods for the Behavioral Sciences, Ch. 12, Final Exam Review

View Set

Mr. Brewer's Java: Ch. 11 Review Questions

View Set

OM - Ch.6 - Manufacturing Processes

View Set