Understanding different kinds of equality between two Strings using “==” in java

后端 未结 0 2029
春和景丽
春和景丽 2021-02-13 18:57

When comparing two Strings in Java using the "==" operator, we know that we are comparing the object\'s addresses in memory. But we also know that in Java the String p

相关标签:
回答
  • 消灭零回复
提交回复
热议问题