Answer Posted / vinay
Another way to call garbage collector :-
Runtime rt = Runtime.getRuntime();
rt.gc();
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the purpose of file class?
What is prefix of a string?
What is serialization in java?
Can a class be declared as static?
Why is a singleton bad?
Can we store variables in local blocks?
What is methods in java?
What does file separator do in java?
Can we override constructors?
How do you add an element to a hashset in java?
How to use arraylist in java netbeans?
How do you insert a line break?
Is finalize() similar to a destructor?
What is java volatile?
Differentiate between array list and vector in java.