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 f63f39f commit 6042bc3Copy full SHA for 6042bc3
docs/java/concurrent/java-concurrent-questions-02.md
@@ -475,8 +475,8 @@ synchronized static void method() {
475
476
对括号里指定的对象/类加锁:
477
478
-- `synchronized(object)` 表示进入同步代码库前要获得 **给定对象的锁**。
479
-- `synchronized(类.class)` 表示进入同步代码前要获得 **给定 Class 的锁**
+- `synchronized(object)` 表示进入同步代码块前要获得 **给定对象的锁**。
+- `synchronized(类.class)` 表示进入同步代码块前要获得 **给定 Class 的锁**
480
481
```java
482
synchronized(this) {
0 commit comments