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...

Stop-motion special effects were first used in fantasy, adventure, and science-fiction movies of the 1940s.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The smallest individual unit of a program written in any language is called a(n) ____________________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

How can the programmer determine the number of bytes reserved for a datatype?

A. Use the address operator & B. Use the sizeof operator C. Use the rangeof operator D. You only know when you declare one.

Computer Science & Information Technology

The logical operator ________ requires that both conditions in the query must be met for the record to be included in the results

A) AND B) BOTH C) NOT D) OR

Computer Science & Information Technology