摘要:
throws可以单独使用(一直上抛) throw要么和try-catch-finally语句配套使用,要么与throws配套使用 /** * 总结: * 1.throws是方法抛出异常。如: public int method() throws Exception{//code.....} * a. 阅读全文
posted @ 2019-02-18 10:47
做个快乐的自己
阅读(194)
评论(0)
推荐(0)
摘要:
转自:https://jingyan.baidu.com/article/c35dbcb0f4315b8917fcbc47.html 阅读全文
posted @ 2019-02-18 10:44
做个快乐的自己
阅读(139)
评论(0)
推荐(0)


浙公网安备 33010602011771号