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?
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?
The i++
is on a separate line from the one-line comment. Unicode code point '\u000A' is a line-feed character.