+ 2
What will be the output of the given code? Try on your pc .
4 Antworten
+ 22
There is no output because you're print statements is included in your comment line.
Try it now with correction
public class Test{
public static void main (String args[])
{
//hello
//\u000d
System.out.println("comment executed");
}
}
+ 9
Visit the link below for explanation:
https://stackoverflow.com/questions/8115522/a-unicode-newline-character-u000d-in-java
+ 3
Both lines are commented .... Hmm.....😶
+ 1
I do not know what's going on and how it is possible .