What is garbage collection in Java, and how can it be used ?
Answer Posted / 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 |
Post New Answer View All Answers
What is the difference between abstraction and encapsulation?
Is java based on c?
What is += mean in java?
What are the two environment variables that must be set in order to run any java programs?
What is function and method in java?
What is diamond operator in java?
What is ternary operator?
Who is the owner of java?
What are parsers? Dom vs sax parser.
What is the synonym of string?
What are heap memory and stack memory and what are memory tables.
Can this keyword be used to refer static members?
How can you make a class serializable in java?
What does it mean that a method or field is “static”?
What is the difference between serializable and externalizable interface?