日期:2014-05-20 浏览次数:20645 次
import java.util.*;
public class Test
{
public static void main(String[] args)
{
A.getA();
}
}
class A
{
private static A aa = new A();
private A()
{
System.out.println("abc");
}
public static A getA();
{
return aa;
}
}
public static A getA();//后面多个分号