I wanted to clarify if I understand this correctly: 我想澄清一下我是否正確理解了這一點: this
==
is a reference comparison, ie both objects point to the same memory location ==
是參考比較,即兩個對象都指向相同的存儲位置 .equals()
evaluates to the comparison of values in the objects .equals()
計算對象中值的比較