What is garbage collection? What is the process that is responsible for doing that in java?
Answer / Sheela Maurya
Garbage Collection (GC) is a process in Java that automatically frees the memory occupied by objects that are no longer being used. The Garbage Collector identifies and reclaims these objects, making them available for future use.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a for loop in java?
Can we write class inside a class in java?
what is difference betweem home interface and remote interface?
if a java file without any source code is valid java file?
Can classes declared using the abstract keyword cab be instantiated?
Which is better 64 bit or 32 bit?
What is operator?
There are 2 different ways to create an object. a)By using keyword "new" b)By using Class.forName ("className").newInstance(); What is the difference between these 2 methods.
What are the three parts of a lambda expression? What is the type of lambda expression?
What are streams in java 8?
What is difference between string and stringbuffer?
Is a case study a method or methodology?