How can you call the garbage collector?

Garbage collector is automatically invoked when the program is being run. It can be also called by called gc() method of Runtime class or System class in Java.

No comments:

Post a Comment