1. Java中垃圾回收的目的是什么, 它什么时候被使用 ?垃圾回收用于识别和丢弃程序不再需要的对象, 以便回收和复用资源。1. What is the purpose of garbage collection in Java, and when is it used ?The purpose of garbage collection is to identify and discard those objects that are no longer needed by the application, in order for the resources to be reclaimed...