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()
Which of the following is the correct syntax for suggesting that the JVM performs garbage collection?