为什么main方法要声明为public和static?
public static void main(String arg[])
{}
根据Java中的ANS
"The method is static because otherwise there would be ambiguity: which constructor should be called?"