Last active
May 19, 2017 23:36
-
-
Save xcv58/78a8c9272bdfd08a8c037ea25a1bb8db to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Hello { | |
public enum Test { | |
A("A"), B("B"), C("C"), D("D"); | |
public static String a = "a"; | |
{ | |
System.out.println("Hi Test"); | |
} | |
Test(String test) { | |
System.out.println("Init, " + test); | |
} | |
} | |
public static void main(String[] args) throws Exception { | |
System.out.println("Hello World!"); | |
// System.out.println(Test.class); | |
// System.out.println(Test.A); | |
// System.out.println(Test.a); | |
// Class.forName("Test"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment