Number of Objects and references created -String

前端 未结 0 810
误落风尘
误落风尘 2020-12-22 11:06

I read posts that said, when you create a String literal, only one object is created in the string pool. When you create a string using the new keyword, two objects are crea

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