Which is the best prototype for a member function of a person class that returns true if the person object’s age is greater than that of another person object. Assume that age is a data member of the person class.

a) bool isOlderThan (const person& p) const;
b) bool isOlderThan (person& p) const;
c) bool isOlderThan (person p) const;
d) bool isOlderThan (const person& p);


a) bool isOlderThan (const person& p) const;

Computer Science & Information Technology

You might also like to view...

A behavior is code added to a Web page that enables users to ____.

A. interact with various elements in the Web page B. alter the Web page in different ways C. cause tasks to be performed D. all of the above

Computer Science & Information Technology

Antenna gain is normally shown using what two measurements?

A) cps and Hz B) Mbps and Gbps C) MHz and GHz D) dBi and dBd

Computer Science & Information Technology

Access is a workbook management system.

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

Computer Science & Information Technology

The ____ allows 127 different devices to connect to a computer via a single USB port on the computer's system unit.

A. HyperTransport bus B. USB standard C. AGP (Accelerated Graphics Port) bus D. PCI Express Bus

Computer Science & Information Technology