KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > T1410v1


1
2 class T1410v1 {
3   public static void main(String JavaDoc [] args) {
4     // prevent compiler optimization of switch by using args.length
5
switch (args.length + 0x7ffffff2) {
6     case 0x7ffffff0:
7     case 0x7ffffff1:
8     case 0x7ffffff2:
9     case 0x7ffffff3:
10       System.out.print("OK");
11       break;
12     default:
13       System.out.print("NOT_OK");
14     }
15   }
16 }
17     
Popular Tags