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 difference overloading and overriding?
How many bits is a char?
What data type is a string?
How is java hashmap implemented?
Is null a keyword in java?
Can we write multiple catch blocks under single try block?
Is string thread safe in java?
How to check if a list is sorted in java?
What is static method with example?
What is the byte order of byte buffer?
Which collection is best for sorting in java?
Explain about complier design(phases)
Can java program run without jre?
Why is a string immutable?
Is set ordered in java?