Suppose there are only two constructors for a class, one that passes in a single integer parameter called amount, for setting an amount data member, and another that passes in a single integer parameter called code, for setting a code data member. Which of the following is true?

A. An error exists in the class.
B. Everything will be fine as long as the program can tell the difference between amount and code.
C. We need to use a Peterson Language Modifier.
D. We need to use different return types for the constructors.


A

Computer Science & Information Technology

You might also like to view...

Packet sniffing and ________ have proved to be favorite targets of organizations like EPIC and the ACLU

a. data mining b. anonymizer-type technology c. over-the-counter encryption technology d. disposable e-mail accounts

Computer Science & Information Technology

?Within a hard drive's Properties dialog box, the ____ sheet displays the security settings for the drive.

A. ?Protection B. ?Security C. ?Safety D. ?Recovery

Computer Science & Information Technology

A system administrator wants to provide for and enforce wireless access accountability during events where external speakers are invited to make presentations to a mixed audience of employees and non-employees. Which of the following should the administrator implement?

A. Shared accounts B. Preshared passwords C. Least privilege D. Sponsored guest

Computer Science & Information Technology

The smallest building block of a wireless LAN is a ______.

A. BSS B. ESS C. WPA D. CCMP

Computer Science & Information Technology