What is garbage collection in Java, and how can it be used ?
Answer Posted / 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 |
Post New Answer View All Answers
What is synchronization and why is it important in java programming?
How do you delete a list in java?
What is intern method in java?
What is sizeof in java?
What is api in java?
What are the different types of multitasking?
Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.
What are dot operator queries?
What is purpose of find feature?
What is the difference between length and length () in java?
what is aggregation in java?
How do you check if a number is a perfect square?
How to instantiate member inner class?
Can we sort a map in java?
How can we achieve thread safety in java?