+ 2
Why this result is error?
if(false) system.out.print('a'); else system.out.print('b');
3 Answers
+ 9
"System" should be capitalized.
If you're on a desktop compiler like Eclipse or Netbeans, it may be giving you a warning about "unreachable code" because your if is always false, and System.out.print('a'); will never run.
+ 1
thank you!
0
System should be capitalized!