KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > SwitchLabel


1 public class SwitchLabel {
2
3     public static void main(String JavaDoc [] args) {
4     
5         label: switch(args.length){
6             case 0:
7                 break label;
8             }
9             System.out.println("OK");
10         
11     }
12 }
13
Popular Tags