My java code has an obvious error. Why does it compile and run?

The http: is a Label Statement. See here also.

The //www.google.com portion is then interpreted as a // comment.

Leave a Comment