Easy Tutorial
For Competitive Exams

Which of the following is the correct syntax for suggesting that the JVM performs garbage collection?

System.free()
System.setGarbageCollection()
Syste.out.gc()
System.gc()
Share with Friends
Privacy Copyright Contact Us