我從零開始已經有Zero division error。我不明白這個錯誤的原因是什麼。我GOOGLE了它,但無法找到答案。在我的GAE日誌中,我有以下文字。 File "C:\Program Files (x86)\Google\google_appengine\lib\jinja2-2.6\jinja2\environment.py", line 894, in render
re
請檢查下面的代碼... // this will produce java.lang.ArithmeticException:/by zero
System.out.println(1/0);
// this will produce Infinity result
System.out.println(1.1/0);
我認爲整數算術總是會拋出java.lang.