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 are the types of casting?
Explain the importance of finally over return statement?
Can you explain the usages of class.forname()?
What are the features of java?
What Method and class used for Connection pooling ?
Adapter classes?
What is synchronization and why is it important in java programming?
what is the difference between ArrayList and Vector
19 Answers KPIT, Sasken, Satyam, Span Infotech, Wipro,
What is a data structure java?
Is java owned by oracle?
I have one Shopping cart application, i that i have selected some items, while clicking submit button by mistake i have clicked twice or trice, that time items are selected twice or trice. Actually i want only one copy of items but its selected twice or trice. So how can we avoid this problem?
What is unsigned char?