Skip to content

Commit a889878

Browse files
authored
Merge pull request Snailclimb#187 from Camork/patch-1
Fix 错别字
2 parents 6530fa5 + c769307 commit a889878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Java相关/可能是把Java内存区域讲的最清楚的一篇文章.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ JDK1.4中新加入的 **NIO(New Input/Output) 类**,引入了一种基于**通
235235
**验证:**
236236

237237
```java
238-
String s1 = new String("abc");// 堆内存的地值值
238+
String s1 = new String("abc");// 堆内存的地址值
239239
String s2 = "abc";
240240
System.out.println(s1 == s2);// 输出false,因为一个是堆内存,一个是常量池的内存,故两者是不同的。
241241
System.out.println(s1.equals(s2));// 输出true

0 commit comments

Comments
 (0)