Which of the following is the prototype for a member function have_birthday of a person class. The function increments a data member called age by 1.

a) int have_birthday (int );
b) void have_birthday ( ) const;
c) void have_birthday (int ) const;
d) void have_birthday ( );


d) void have_birthday ( );

Computer Science & Information Technology

You might also like to view...

C++ provides for __________ , which allows a derived class to inherit from many base classes, even if the base classes are unrelated.

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

Computer Science & Information Technology

In a GUI, you should define a separate ____ class for each command button.

A. array B. variable C. listener D. initializer

Computer Science & Information Technology

Which of the following is the correct order for the steps of laser printing?

A. Processing, charging, developing, exposing, transferring, fusing, cleaning B. Processing, developing, charging, exposing, fusing, transferring, cleaning C. Charging, processing, exposing, developing, transferring, fusing, cleaning D. Charging, processing, developing, exposing, transferring, cleaning, fusing E. Processing, charging, exposing, developing, transferring, fusing, cleaning

Computer Science & Information Technology

In the ________ attack the user supplied input is used to construct a SQL request to retrieve information from a database.

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

Computer Science & Information Technology