标签文章列表

【67】throw和throws的区别
throw和throws的区别2020-12-30 admin
throw和throws的区别在于throw抛出一个指定的异常,而throws声明可能抛出的异常列表。throwpublic void a(String uri) { if(uri==null){ throw new NullPoint...
throw和throws的区别在于throw抛出一个指定的异常,而throws声明可能抛出的异常列表。throwpublic void a(String uri) { if(uri==null){ throw new NullPoint...