Which of the following can be operands of arithmetic operators?
Modulus operator, %, can be applied to which of these?
With x = 0, which of the following are legal lines of Java code for changing the value of
x to 1?
1. x++;
2. x = x + 1;
3. x += 1;
4. x =+ 1;
Decrement operator, ??, decreases value of variable by what number?
1
2
3
4
SHOW ANSWERWhat is the output of relational operators?
Which of these is returned by “greater than”, “less than” and “equal to” operators?
Which of these operators can skip evaluating right hand operand?
Which of these have highest precedence?
Which of these selection statements test only for equality?
Which of these are selection statements in Java?
Which of these jump statements can skip processing remainder of code in its body
for a particular iteration?
Which of these keywords is used to make a class?
Which of these operators is used to allocate memory for an object?