Somewhere going through java good articles, I found that such code compiles perfectly.
public int myMethod(){
http://www.google.com
return 1;
}
description says that http:
word will be treated as label and //www.google.com
as comment
I am not getting how Java Label is useful outside loop? Under what situation Java Label outside loop should be used?