摘要: 只有在顶层类中定义,或者在静态内部类中定义,看下面的例子 public class Test { static void t(){} class T2{ //!错误,The method a cannot be declared static; //static methods can only be declared in a static or top level typ... 阅读全文
posted @ 2007-07-13 19:42 dkcndk 阅读(565) 评论(0) 推荐(0) 编辑