Card 29 / 76: Java 7 added the allowance of a special character to indentify places. Which declaration is correct?
A)
int investment = 1x000x000;
B)
int investment = 1_000_000;
C)
int investment = 1^000^000;
D)
int investment = 1-000-000;
Answer:
B) int investment = 1_000_000;
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
A, C, and D are incorrect because x, ^, and – are incorrect; they are not used to identify places in numeric values.
|