KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test8 > CCTest8iii


1 package test8;
2
3 public class CCTest8iii {
4     
5     public static void main(String JavaDoc[] args) {
6         InnerEnum e; //Check that InnerEnum is in the CC
7

8     e = InnerEnum.A; //Check the CC provided after the dot
9

10
11     }
12     
13     private static enum InnerEnum {
14         A, B, C
15     }
16 }
Popular Tags