Multiple Choice
Which one of the following statements initializes a variable with a decimal literal?
A) string displayPrice = "$14.99";
B) decimal budget = 450m;
C) int inventory = 150;
D) double volume = 30.25;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q117: A variable is visible only to statements
Q118: Which one of the following is the
Q119: The _ window in the debugger allows
Q120: In C#, the + operator has two
Q121: A form's BackgroundImageLayout property is similar to
Q123: A form's field values remain in memory
Q124: A(n) _ variable belongs to the method
Q125: If you need to store numbers and
Q126: The Math class provides two predefined named
Q127: GroupBox controls do not have their own