fork download
  1. enum Example {
  2. INSTANCE {
  3. };
  4. public static void main(String[] args) {
  5. System.out.println(Example.INSTANCE.getClass().getEnumConstants());
  6. }
  7. }
Success #stdin #stdout 0.05s 4386816KB
stdin
Standard input is empty
stdout
null