提交 b9997998 编写于 作者: 沉默王二's avatar 沉默王二 💬

Update README.md

上级 a5bb0a4d
......@@ -1457,7 +1457,7 @@ Infinity 的中文意思是无穷大,NaN 的中文意思是这不是一个数
```
Exception in thread "main" java.lang.ArithmeticException: / by zero
at com.itwanger.eleven.ArithmeticOperator.main(ArithmeticOperator.java:32)
at com.itwanger.eleven.ArithmeticOperator.main(ArithmeticOperator.java:32)
```
所以整数在进行除法运算时,需要先判断除数是否为 0,以免程序抛出异常。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册