Test Series - java
Test Number 18/64
Q: Among Relational operators and Assignment operators, which operators have higher priority?
A. Assignment operators have lower priority than Relational operators
B. Assignment operators have higher priority than Relational operators
C. Assignment operators have equal priority with Relational operators
D. None of the above
Q: What is the output of the Java code snippet?
int a=20, b=10;
boolean c = a>=10 & b<20;
System.out.println(c);
A. false
B. true
C. Compiler error
D. None of the above
You Have Score    | | /5 |