What is garbage collection in Java, and how can it be used ?
Answers were Sorted based on User's Feedback
Answer / dhawal
garbage collection is process run thruogh out the java
programe ,when we class creation takes place after that we
have to instantiate that class ,if we can not gives refrence
to this object then that will be find out by garbage
collector and that will collect by garbage collector.
Is This Answer Correct ? | 11 Yes | 16 No |
Answer / subramanyam
IF an object is created for an class that object is not
used than the memory which is allocated to that objected to
be wasted ,the wastage of memory is called garbage
collection
Is This Answer Correct ? | 3 Yes | 12 No |
What is a null point?
How do you convert bytes to character in java?
What is preflight request?
Is there any tag in htm to upload and download files?
what us Dyna action form?
4 Answers Aithent Technologies,
What is the use of static keyword in "public static void main()"
10 Answers College School Exams Tests, Infosys, Six Dee Telecom,
What are Advatages of Overloading and Overridding.
When do I need to use reflection feature in java?
1.) if we use "private" in place of "public" in public static void main()... 2.) if we use "int" in place of "void".... 3.) can we ommit "static" keyword from that statement.... 4.) also can we give the command line arguments type as int type or float,etc.(.i.e (string args[]))
Write the algorithm to check the number non-leaf nodes in a tree.
How do I start learning java?
How to send a request to garbage collector?