一、实现方式 Class cla=null; 1.类名.class, cla=Person.class 2.对象.getClass()方法, Person per=new Person; cla=per.getClass(); 3.Class.ForName()方法 Class.ForName("Person");