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 pojo class in java?
What is class level lock ?
How do you check if a string contains only numeric digits?
How use .contains in java?
Java violates few objected oriented concepts. Can you explain in what way?
What is data structure in java?
Can we override data members in java?
How will you reverse a singly-link list?
0 Answers Akamai Technologies,
different types of threads?
What is a protected void?
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
What is nan in java?