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 |
If a variable is declared as private, where may the variable be accessed?
Howmany number of objects we can store in an ArrayList. Is there any limit?
how to write a program for sending mails between client and server
What does java se mean?
What is an Applet ?
what is daemon thread and which method is used to create the daemon thread? : Java thread
What is boolean false?
What is the buffer limit?
Which command from the jdk compiles a java program?
What is the importance of static variable?
What is a singleton class in Java? And How to implement a singleton class?
Why is java so popular?