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

You can choose to sign up for Pinterest with your existing Facebook or LinkedIn account, or with just your email address

Indicate whether the statement is true or false

Computer Science & Information Technology

The ____ is one in which the resulting binary search is nearly balanced.

A. ABL tree B. AVL tree C. BVL tree D. BDL tree

Computer Science & Information Technology