Which of the following is the correct syntax for suggesting that the JVM performs garbage collection?
Answer & ExplanationOption: [D]
System.gc() is a program that runs for garbage collection. But it not reliable.
Answer & ExplanationOption: [D]
System.gc() is a program that runs for garbage collection. But it not reliable.