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 static methods and variables?
What are the restriction imposed on a static method or a static block of code?
What is difference between static and final?
What is the main use of generics in java?
What are loops in java? What are three types of loops?
How do you create a sop?
Is map ordered in java?
How do listeners work?
What is the difference between the paint() and repaint() methods in java programming?
What is the difference between super class & sub class?
Is there a sort function in java?
What is the difference between a loader and a compiler?
How transient variable is different from volatile variable?
What is lazy programming?
What is formatted output?