a. $pay
b. 4myGrade
c. !newGrade!
d. 1dollar
Give this one a try later!
, $pay
The standard output object in Java is ____.
Give this one a try later!
System.out
The conditional operator ?: takes ____ arguments.
Give this one a try later!
three
int x, y;
if (x < 4)
y = 2;
else if (x > 4)
{
if (x > 7)
y = 4;
else
y = 6;
}
else
y = 8;
Based on the code above, what is the value of y if x = 5?
Give this one a try later!
, 6
Which of the following statements about a named constant is NOT true?
a. Its content cannot change during program execution.
b. Its value can be changed during program execution.
c. It is a memory location.
d. It is declared using the reserved word final.
Give this one a try later!
Its value can be changed during program execution.
The symbol GB refers to a ____.
Give this one a try later!
gigabyte
In a Java program, the file name must be the same as the ____ name.
Give this one a try later!
class