public static MenuManager getInstance() { if (instance != null) return instance; else { instance = new MenuManager(); return instance; } }
static MenuManager() { instance = new MenuManager(); getInstance(); }
public static MenuManager getInstance() { if (instance != null) return instance; else { instance = new MenuManager(); return instance; } }
static MenuManager() { instance = new MenuManager(); getInstance(); }