class MyClass ... { private static final MyClass MC = new MyClass(); private MyClass()...{ } public static MyClass getMyClass()...{ return MC; }} // HOHO // Java的东西真好,不要像delphi那样搞很多全局变量; //