2012年12月9日
摘要: import java.lang.annotation.Annotation; import java.lang.reflect.Constructor; import java.lang.reflect.Method; //使用两个注释修饰该类 @SuppressWarnings(value = "unchecked") @Deprecated public class ClassTest { // 为该类定义一个私有的构造器 private ClassTest() { } 阅读全文
posted @ 2012-12-09 12:56 上校 阅读(2035) 评论(0) 推荐(0)