1. Java Garbage Collection 2. AgendaIntroduction to GCIntroduction to GC AlgorithmsFinalize() in JavaReference type in Java 3. PurposeKnow how GC worksAvoid traps when works…