Skip to main content
1 of 2
dryairship
  • 6.1k
  • 4
  • 32
  • 57

Java output is not correct

I have this code:

class ABCD { public static void main (String[] args) { int i = 3; // \u000A i++; System.out.println(i); } } 

Ouput:

4

Does this mean that Java also executes comments?

dryairship
  • 6.1k
  • 4
  • 32
  • 57