

McqMate
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(); |
View all MCQs in
Java ProgrammingNo comments yet