乔钰博 发表于 2014-3-20 21:20
我给你整理了下
北冥有鱼 发表于 2014-3-20 22:09
还是,不知道问题出哪儿了
乔钰博 发表于 2014-3-20 22:13
System.out.println((String)retval); 类型转换错误啊,那个异常都说了ClassCastException
你直接打印ret ...
syw02014 发表于 2014-3-20 21:26
不知道是不是你想要的结果:
运行结果:
class IntrospectorDemo
欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) | 黑马程序员IT技术论坛 X3.2 |