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 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.
what is language and it responsibilities
how can i cal servlet from jsp page?how can i pass variablesfrom the jsp that servlet can access?
please write java program of instanceOf keyword implementation
Which method cannot be overridden in java?
What is the concept of multithreading?
Why is string builder not thread safe?
Explain abstract class in java?
What is string syntax?
How do you write a good declaration?
Explain what access modifiers can be used for variables?
What are basic keywords?