We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dba82a5 commit fe70d48Copy full SHA for fe70d48
1 file changed
section7/src/ArithmeticOperatorsDemo.java
@@ -29,10 +29,10 @@ public static void main(String[] args) {
29
byte num11 = -(-9);
30
31
int num12 = 42;
32
- num12 += 3.3; // num12 = (int) num12 + 3.3;
+ num12 += 3.3; // num12 = (int) (num12 + 3.3);
33
34
int num13 = 42;
35
- num13 -= 3.3; // num13 = (int) num13 - 3.3;
+ num13 -= 3.3; // num13 = (int) (num13 - 3.3);
36
37
String str = "Hello";
38
str += 9;
0 commit comments