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 does .equals do in java?
How to run a JAR file through command prompt?
What do you mean by composition in java?
How an object is serialized in java?
What is remote method invocation (rmi)?
What does next mean in java?
How does hashset work in java?
What does indexof mean?
Why vector class is used?
What is the difference between array list and vector in java?
What is definition and declaration?
How does callback work in java?
What is the largest long allowed by java?
What is the file type?
How can we create an immutable class in java?