This page has been translated to Chinese by monklof. I started writing down this list as my personal notes of topics I discussed with colleagues and friends, and that I wanted to deepen... I'm not a ...
But if you use new: 𝘚𝘵𝘳𝘪𝘯𝘨 𝘴3 = 𝘯𝘦𝘸 𝘚𝘵𝘳𝘪𝘯𝘨 ("𝘤𝘢𝘵"); Java creates a new object in the heap, not in the pool.