What is the main purpose of Garbage Collection (GC) in Java?
GC is designed to manually clean up the objects you no longer use in your application.
Thatâ€™s incorrect. Garbage Collection is automatic and doesn't require manual intervention in Java.
Can you explain the difference between manual memory management and automatic GC in Java?