Java: Executing code in comments?!

6 years ago
ian $I9xuH7PGU4 2

http://programming.guide/java/executing-code-in-comments.html

// \u000d System.out.println("Hello World!");
This line surprisingly prints "Hello World"

Java: Executing code in comments?!

May 10, 2018, 9:30pm UTC
http://programming.guide/java/executing-code-in-comments.html // \u000d System.out.println("Hello World!"); This line surprisingly prints "Hello World"

Java: Executing code in comments?!

May 10, 2018, 9:30pm UTC
http://programming.guide/java/executing-code-in-comments.html // \u000d System.out.println("Hello World!"); >This line surprisingly prints "Hello World"