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

1. If you use the keyword virtual in a function declaration, you must also use it in the function definition.
2. Destructors are not inherited into the derived class.
3. The assignment operator is inherited from the base class.
4. The copy constructor from the base class is not inherited into the derived class.
5. All member functions in a base class should be listed as virtual functions.

1. FALSE
2. TRUE
3. FALSE
4. TRUE
5. FALSE

Computer Science & Information Technology

You might also like to view...

One of the primary uses of forms is to:

A) define the criteria of a field. B) enter data into a table. C) define a query. D) enter criteria for other fields.

Computer Science & Information Technology

The Java ____ translates each bytecode instruction into a particular type of CPU machine language and then executes the instruction.

A. compiler B. assembler C. interpreter D. applet

Computer Science & Information Technology