Skip to content

Commit 2257b04

Browse files
authored
[docs fix]错别字修改
update java-basic-questions-02.md
1 parent cc4543b commit 2257b04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ System.out.println(s);
322322

323323
#### 字符串常量池的作用了解吗?
324324

325-
**字符串常量池** 是 JVM 为了提升性能和减少内存消耗针为字符串(String 类)专门开辟的一块区域,主要目的是为了避免字符串的重复创建。
325+
**字符串常量池** 是 JVM 为了提升性能和减少内存消耗针对字符串(String 类)专门开辟的一块区域,主要目的是为了避免字符串的重复创建。
326326

327327
```java
328328
String aa = "ab"; // 放在常量池中

0 commit comments

Comments
 (0)