I have a referred this Stack Overflow Post regarding the \u000d
to be treated as a new line character during run time due to which a code like this:
public static void main(String[] args)
{
// \u000d System.out.println("comment executed");
}
will output "comment executed"
but then I never quite really understood why is that when I replace the \u000d
with a more conventional form \n
,the comment does not work like the previous way.