This is legal, compilable Java:
public class Oddity
{
public static void main(String[] args)
{
http://blog.uncommons.org
System.out.println("Why is the URL allowed above?");
}
}
why?
thisIsALabel://And this is a comment.
System.out.println("So it's all fine.");
No comments:
Post a Comment