What is garbage collection in Java, and how can it be used ?
Answer Posted / sachin deshmukh
In java doesn't allow memory leakage,Garbage collector
automatically deallocates memory.It deallocates memory of
objects that no longer has any references i.e. references
count is zero.
Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
What is a string what operation can be performed out with the help of a string?
What do you mean by buffering?
What is meant by class?
What is the maximum size of arraylist in java?
Is simpledateformat safe to use in the multithreaded program?
What are the differences between this and super keyword?
What is the use of jtable?
What is use of inner class in java?
What are the java ide's? Explain
Is object a data type?
Whats the difference between notify() and notifyall()?
What is difference between path and classpath variables?
Explain about procedural programming language or structured programming language and its features?
Can an interface extend a class?
What are different types of constants?