Q.

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

A. System.free();
B. System.setGarbageCollection();
C. System.out.gc();
D. System.gc();
Answer» D. System.gc();
2.9k
0
Do you find this helpful?
16

View all MCQs in

Java Programming

Discussion

No comments yet