Exploring Java Garbage Collector Example: Understanding Its Functionality