What is garbage collection in Java, and how can it be used ?
Answer Posted / brijesh yadav
Garbage Collection is a form of automatic memory
management. The garbage collector or collector attempts to
reclaim the memory used by objects that will never be
accessed again by the application or mutator.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is bytecode in java ?
What is r * in math?
Why do we use string?
How to perform linear search in java?
How do you compare values in java?
What is the benefit of inner / nested classes ?
Is a boolean 1 bit?
What is the method overriding?
Why wait and notify methods are declared in object class?
What is the difference between heap memory and stack memory?
We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.
What a static class can contains?
Explain the difference between collection api and stream api in java8?
Is hashset sorted in java?
How do you check whether the list is empty or not in java?