level 4
最近在学Java,一次用eclipse编译一个java文件,但是当用0做被除数的时候,编译通过了,不是应该抛异常吗,这是java的锅还是eclipse 的锅,新人求助。
2015年09月14日 15点09分
1
level 8
大兄弟被除数可以为零,除数不能为零。。。
customer, 15 words you ordered has been credited into account ﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍﹍
2015年09月14日 15点09分
3
level 8
去了解一下chackedexception和runtimeexception
2015年09月14日 16点09分
6
level 8
编译期异常,必须解决才能通过编译。运行时异常不解决也能通过编译,但是运行会报错。
2015年09月14日 17点09分
8