+ 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); } else { system. out. println (c);}
24 ответов
+ 6
thanks for the smart ass comment. but if you change it to a capital 'S', the output should be 11.
+ 2
Compile error. There is no class system but System.
+ 2
Sometime java exam need to check if you think like the compiler. No score if your answer is 11.
+ 1
11
+ 1
Error , is System not system
+ 1
11
+ 1
11
+ 1
Its saying the answer is 1, but I'm not sure how they got that answer. I'm still new to code so please be patient with me lol!
+ 1
answer correct 11
0
Thank you all
0
compilation error
0
because System
0
compilation error
0
Ok
0
that's really smart hiding 'a' behind'b' except little whitespace error and it's system not system but then everything is good, I got int 11
0
11
0
It's 11
0
my ans is 11
0
a=11 ans
0
answer is 11 done
ple try ok