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() ;
Correct Answer:
Verified
Q1: Under what circumstances might you use the
Q3: A class that cannot be a subclass
Q4: When method defined in subclass which has
Q5: Which of the following statement is correct?
A)For
Q6: Java language has support for which of
Q7: Consider the following program:
Import myLibrary.*;
Public class ShowSomeClass
{
//
Q8: Which of the following is TRUE?
A)In java,
Q9: Consider the following code snippet
String river =
Q10: What is different between a Java applet
Q11: You read the following statement in a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents