Operators - Objective Questions and Answers in Core Java
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
⭐ Make GKSeries Your Preferred Source on Google
Add GKSeries as Preferred Source
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.