We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48b8cc8 commit cebd3e4Copy full SHA for cebd3e4
Calculator.java
@@ -13,7 +13,7 @@ public int multiply(int a, int b) {
13
14
public double divide(int a, int b) {
15
if (b == 0) {
16
- throw new IllegalArgumentException("Division by zero is not allowed.");
+ throw new IllegalArgumentException("Division by zero is not allowed.b can't be zero.");
17
}
18
return (double) a / b;
19
0 commit comments