摘要: 1 import java.beans.IntrospectionException; 2 import java.beans.PropertyDescriptor; 3 import java.lang.reflect.InvocationTargetException; 4 import java.lang.reflect.Method; 5 import java.ut... 阅读全文
posted @ 2017-12-07 16:37 听说昵称越短越好 阅读(1830) 评论(0) 推荐(0)
摘要: 代码: 上面代码的特点是出现try... catch... finally语句中,catch代码块中有return,return语句中有运算,同时finally对catch的return语句中的同一个变量进行了运算。 最后的在main方法中输出的a是11 执行的过程是: 1、catch中return 阅读全文
posted @ 2017-10-13 09:55 听说昵称越短越好 阅读(177) 评论(0) 推荐(0)