mirror of
https://github.com/CyC2018/Interview-Notebook.git
synced 2026-10-21 00:03:41 +00:00
auto commit
This commit is contained in:
+1
-1
@@ -131,7 +131,7 @@ if x.equals(y) && y.equals(z) {
|
||||
多次调用 equals() 方法结果不变
|
||||
|
||||
```java
|
||||
x.equals(y) == x.equals(y) == x.equals(y) == x.equals(y); // true
|
||||
x.equals(y) == x.equals(y); // true
|
||||
```
|
||||
|
||||
**5. 与 null 的比较**
|
||||
|
||||
Reference in New Issue
Block a user