1) Compile time error, System.out has no print method
2) No output at runtime
3) Output of 0
4) Compile error, break cannot occur after its target label
I expected the output to be 01 but when I run the above program got the ouput 0 . Can anybody explain me ?