garbate collector(GC)?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What are the string methods in java?
What does I ++ mean?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
What is clipping?
How do you convert int to char in java?
What are the important features of Java 8 release?
What modifiers may be used with an inner class that is a member of an outer class in java programming?
how many types of cloning?
Can we convert integer to string in java?
I have one POJO class(Java bean class), it has two variables for that it has setters and getters. Now i have created two objects for that class and i have set the data for those variables through this two objects. Now question is i want check whether those two objects have same data or not, for this write a program? Thanks, Bose.
How to create a fecelet view?
Why set is used in java?