What is the purpose of garbage collection in java, and when is it used?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

what is the replacement for GOTO in java?

2 Answers   CTS,


How do you remove all elements from an arraylist in java?

0 Answers  


What is the need to implement Serializable interface (with no methods) for objects which are to be serialized ? We can write our own functionality which writes objects to streams then why we need to implement and tell JVM that which objects can be serialized.

6 Answers   iFlex, Sapient,


What does \ mean in regex?

0 Answers  


Detail discussions on JVM, memory management and garbage collector.

0 Answers   Expedia,


what are the states associated in the thread? : Java thread

0 Answers  


what are depricated methods in threads and explain the lifecycle methods

5 Answers   CTS,


How do you reverse a list?

0 Answers  


What is currentthread()?

0 Answers  


How many types of flags are there?

0 Answers  


what is object deep copy and shallow copy and why it is required?

2 Answers  


Which is not Object in Java?

10 Answers   Honeywell,


Categories