public class BrowserTest{
public static void main(String[] args){
System.out.println("iexplore.exe");
http://www.google.com
System.out.println(":maxmize");
}
}
Solution:
显示:iexplore.exe
:maxmize
由于URL在java中被认为是注释,不做任何事情
TID:
The URL that appears in the middle of the program is a statement lable followed by an end-of-line comment.
The lesson of this puzzle is that misleading comments and extraneous code cause confusion. Write comments carefully and keep them up to date. Excise dead code.