What will be the output?
if(1 + 1 + 1 + 1 + 1 == 5){
System.out.print("TRUE");
}
else{
System.out.print("FLASE");
}
if(1 + 1 + 1 + 1 + 1 == 5){
System.out.print("TRUE");
}
else{
System.out.print("FLASE");
}
A. TRUE
B. FALSE
C. Compiler Error
D. None of these
Answer: Option A
Join The Discussion
Comments ( 1 )
Related Questions on Operators
Good