Question 38 / 90:  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;
<< First < Previous Flashcard Next > Last >>
Explanation:

B. The underscore is used to identify places in numeric values.

A, C, and D are incorrect because x, ^, and – are incorrect; they are not used to identify places in numeric values.

Exam Home Page
https://www.jobilize.com/quiz-my-oca-mock-exam-by-mike-wolf

My OCA Mock

Author:

Access: Public Instant Grading

Ask
Caitlyn Gobble
Start Exam
Robert Murphy
Start Test
Copy and paste the following HTML code into your website or blog.
<iframe src="https://www.jobilize.com/embed/quiz-my-oca-mock-exam-by-mike-wolf" width="600" height="600" frameborder="0" marginwidth="0" marginheight="0" scrolling="yes" style="border:1px solid #CCC; border-width:1px 1px 0; margin-bottom:5px" allowfullscreen webkitallowfullscreen mozallowfullscreen> </iframe>