- 1
What is the output of the following code? int a = 11; int b = 12; int c = 40; if (a > 100 || b > 3) { System.out.println(a
2 Respostas
+ 1
It prints the value of a since the condition is true.
'||' is the OR operator, meaning only one of the conditions needs to be true (which 'b>3' is) for the statement to be executed.
0
11