得到字节码的方式有哪三种?

1.类名.class,例如System.class;

2.对象.getClass(),例如New Date().getClass();

3.Class.forName("类名"),例如Class.forName("Java.Util.Date");

posted on 2016-05-12 07:54  dangjunhui  阅读(524)  评论(0编辑  收藏  举报

导航