fork download
  1. class Ideone {
  2. public static void main (String[] args) {
  3. Singleton abc = Singleton.INSTANCE;
  4. abc.bbb();
  5. }
  6. }
  7. enum Singleton {
  8. INSTANCE;
  9.  
  10. private boolean aaa;
  11. public void bbb(){}
  12. }
Success #stdin #stdout 0.04s 711168KB
stdin
Standard input is empty
stdout
Standard output is empty