Java MCQs - Operators
There are many operators in Java to manipulate operations on variables. You may find groups of operators such as Arithmetic Operators, Relational Operators, Bitwise Operators, Logical Operators, Assignment Operators and Ternary Operators.
11. What is the right output of this program ?
A. -50,-49,-50
B. -51,-51,-52
C. -49,-50,-51
D. -51,-50,-51
View Answer
12. What is the right output of this program ?
A. 3,12
B. 0,12
C. 3,0
D. 3,3
View Answer
13. What is the right output of this program ?
A. true,true
B. false,true
C. 0,true
D. 0,1
View Answer
14. What is the right output of this program ?
A. true
B. false
View Answer
15. What is the right output of this program ?
A. true
B. false
C. Hello 1
D. Hello 2
View Answer
