Does unreferenced Scanner object close automatically?

前端 未结 0 1579
眼角桃花
眼角桃花 2020-12-16 07:05

This question is a duplicate of this question but none of them answered if it can be closed.

They only suggested alternatives- using try-with or actually

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