You have the following code segment. Line numbers are included for reference only.
What is the output of line 07?
-44
-40.0
40.0
44.0
Correct answer: B
Question 2
You need to analyze the following code segment. Line numbers are included for reference only.
What is the output of line 12 when you run printInt()?
0
1
2
3
Correct answer: A
Question 3
The question requires that you evaluate the underlined text to determine if it is correct.
You should use an int data type to store the numeric value 3,000,000,000 (3 billion) so that the least amount of memory is used.
Review the underlined text. If it makes the statement correct, select “No change is needed.” If the statement is incorrect, select the answer choice that makes the statement correct.