What do you mean by garbage collection?



What do you mean by garbage collection?..

Answer / Durgesh Jayant

Garbage collection refers to a mechanism used by programming languages and runtime systems to manage memory automatically, specifically to deallocate or free the memory occupied by objects that are no longer in use. This helps to prevent memory leaks and optimize program performance.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Can you store different types in an array?

1 Answers  


how to insert a new node in linked list where free node will be available?

1 Answers  


What is the space complexity of quicksort?

1 Answers  


how a polynomial such as 6x^6+4x^3-2x+10 can be represnted by linked list?write an algorithm that reads such an polynomial

1 Answers  


What is the maximum size of array?

1 Answers  


What is difference between data type and variable?

1 Answers  


What are the different binary tree traversal techniques?

1 Answers  


What is the two-dimensional array?

1 Answers  


Which is more efficient merge sort vs quicksort?

1 Answers  


Is Linked List 'linear' or 'Non-linear' data structure?

1 Answers   Accenture,


Explain recursive function & what is the data structures used to perform recursion?

1 Answers   TCS,


What is difference between list and linked list?

1 Answers  


Categories