What is garbage collection in Java, and how can it be used ?
Answer Posted / tulsi
Garbage collection means deallocation of variables,which
are of no use(variables that wont be usefull in future).It
is a automatic process that occurs during the execution of
your program. In other lanuages this facility is not
provided, we have to do it mannually where as java provides
this process known as garbage collection.
| Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
What does java final mean?
Can you call one constructor from another if a class has multiple constructors?
What data type is string java?
Can you override private or static method in java?
What is use of functional interface in java 8? Explain
Is a case study a method or methodology?
What is an accessor?
What is difference between static variable and global variable?
What are void pointers?
Write a method that will remove given character from the string?
Can a source file contain more than one class declaration?
What are methods in java?
What is private public protected in java?
What’s the difference between the methods sleep() and wait()?
What is charat ()?