Multiple Choice
Which one of the following assignment statements, for variables of the decimal data type, will cause an error?
A) decimal cost = 0.99m;
B) decimal retail = 100;
C) decimal wholesale = 50.0;
D) decimal fee = 0.01m;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q26: Which one of the following statements initializes
Q44: _ ("P" or "p") causes the number
Q85: Which one of the following statements declares
Q111: You cannot assign a decimal value to
Q124: A(n) _ variable belongs to the method
Q164: When declaring multiple variables with one declaration
Q165: A field's scope is the entire class,
Q166: A(n) _ also known as a mnemonic,
Q167: The _ data type is used to
Q174: A _ control is a rectangular container