Skip to content

Commit 2369865

Browse files
authored
Update java-basic-questions-01.md
自增自减运算,例题答案勘误
1 parent fd47a1c commit 2369865

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/java/basis/java-basic-questions-01.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ int d = c--;
303303
int e = --d;
304304
```
305305
306-
答案:`a = 11` 、`b = 9` 、 `c = 11` 、 `d = 11` 、 `e = 10`。
306+
答案:`a = 11` 、`b = 9` 、 `c = 10` 、 `d = 10` 、 `e = 10`。
307307
308308
### 移位运算符
309309

0 commit comments

Comments
 (0)