Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pblic class Test
- {
- public static final Test test1=new Test("a");
- public static final Test test2=new Test("b");
- public static final Test test3=new Test("c");
- //instance
- public static String instance;
- public Test(String init)
- {
- instance=init;
- }
- .
- .
- .
- public enum myEnum
- {
- APPLE{{this.enumtest=Test.test1}};
- Test enumtest;
- .
- .
- .
Add Comment
Please, Sign In to add comment