What happens when assigned null to String object?

后端 未结 0 579
慢半拍i
慢半拍i 2021-01-27 02:29

I am trying to understand what happens to a string when null is assigned to it. So, I have a String str = new String("abc"); // it uses some space in memory when str i

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