1
Evaluate the value of the expression?

6 - 2 + 10 % 4 + 7

Answer: Option [C]

Advertisement

Advertisement

Questions

2
Which of the following assignment operator does not exist in Java?

Answer: Option [D]

The >>> operator does not exist in Java. The other operators are valid.

Examples: x >>=y result is x=x+y

x%=y result is x=x%y

x>>>=y result is x=x>>>y

Advertisement

3
What is/are highest order precedence operator(s) in Java?

Answer: Option [C]

Parentheses(), Array subscript{} and Member selection- have the same precedence.

5
The && and || operators

Answer: Option [C]

Logical AND(&&) and Logical OR(||) combine two boolean values.

Advertisement