A
Q. Find the output of the following code.
Code:
if(1 + 1 + 1 + 1 + 1 == 5){
System.out.print(“TRUE”);
}
else{
System.out.print(“FALSE”);
}
System.out.print(“TRUE”);
}
else{
System.out.print(“FALSE”);
}
- Correct Answer - Option(B)
- Views: 12
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.