If a derived class (Class2) has redefined a function from the base class (Class 1), how can that derived function call the base class function if the function declaration is as follows?

void print( );
a. :public Class1::print( );
b. Class1 :: print( );
c. print( );
d. all of the above.

b. Class1 :: print( );

Computer Science & Information Technology

You might also like to view...

The following statements describe advantages of the Open and Save As dialog boxes except __________.

a. they help make an application more consistent with other Windows applications b. they give users the ability to browse for a file c. these dialog boxes show the user how to create and use files d. they allow a file to be specified without typing a long path and filename

Computer Science & Information Technology

A ____ reference is an automatically created variable that holds the address of an object and passes it to an instance method whenever the method is called.

A. key B. public C. that D. this

Computer Science & Information Technology