Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


garbate collector(GC)?

Answers were Sorted based on User's Feedback



garbate collector(GC)?..

Answer / prabir kumar

1) it is a automatic memory management utility run by JVM.
2) the JVM cleaning the objects from the memory which are
no longer being referenced.
3) the object that is not instantiate or containl null is
also applicable for garbage collection.
3) explicitly running garbage collector is very expensive.
4) to run the garbage collect call the static method of
System class e.g. System.gc();

Is This Answer Correct ?    5 Yes 0 No

garbate collector(GC)?..

Answer / aditya mohata

it's an built it procedure in java which takes place as we
are finished wid our programs,so as to nullify the already
existing objects in the file.it's as an desturctor in c++.

Is This Answer Correct ?    3 Yes 0 No

garbate collector(GC)?..

Answer / sub

Automatically deletes unused memory

Is This Answer Correct ?    1 Yes 0 No

garbate collector(GC)?..

Answer / reddy

JVM Automatically reclaims the memory used by an object.When
no variable is referred to that object.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer



More Core Java Interview Questions

Without creating a new object, How you can retrieve a String or other object?

1 Answers  


Differentiate between stringbuffer and stringbuilder in java.

0 Answers  


What is local declaration?

0 Answers  


How do you do math powers in java?

0 Answers  


java is fullu object oriented or pure? why?

8 Answers  






How many types of flags are there?

0 Answers  


What are the two environment variables that must be set in order to run any java programs?

0 Answers  


What are controls and their different types in awt?

0 Answers  


What do you mean by inner class in java? Explain

0 Answers  


What is the order of arraylist in java?

0 Answers  


What is function overriding and overloading in java?

0 Answers  


I want to print “hello” even before main is executed. How will you acheive that?

0 Answers  






Categories