会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
kuillldan
博客园
首页
新随笔
联系
订阅
管理
2016年11月27日
Java中的异常-Throwable-Error-Exception-RuntimeExcetpion-throw-throws-try catch
摘要: 今天在做一个将String转换为Integer的功能时,发现Integer.parseInte()会抛出异常NumberFormatException. 函数Integer.parseInt(String)定义 测试代码: 我们知道,所有的会抛出异常的地方都需要try catch 捕获,或者使用th
阅读全文
posted @ 2016-11-27 11:25 kuillldan
阅读(1024)
评论(0)
推荐(0)
编辑