![]() Related Questions Latest Answer : We need not call the finalize() method directly. The method is called automatically by the garbage collector when it determines no more references to the object exist. But when we need to clean-up non-Java resources ie closing a file, we need ... Latest Answer : the object that has no reference is assumed to no longer used. so to reclaim its memory garbage collection is used. ... i don't know Latest Answer : where we use iterator than enumeration in collection interface? ... Read Answers (2) | Asked by : san A) Daemon thread is a low priority threadB) It runs intermittently in the backgroundC) It does the garbage collection operation for the java runtime system.D) All of the above Latest Answer : All of the above(D) is correct answer. ... When an object is referenced, does this mean that it has been identified by the finalizer method for When an object is referenced, does this mean that it has been identified by the finalizer method for garbage collection? A) TrueB) False Latest Answer : Collection InterfacesThere are six collection interfaces. The most basic interface is Collection. Three interfaces extend Collection: Set, List, and SortedSet. The other two collection interfaces, Map and SortedMap, do not extend Collection, as they represent ... Read Answers (2) | Asked by : suresh Latest Answer : Reclaming the unused memoryuse System.gc(); method. ... Read Answers (7) | Asked by : suresh Latest Answer : U can do this by using the following method available in Collectionstatic Collection unmodifiableCollection(Collection c)it will return u an immutable collection. ... Read Answers (1) | Asked by : ganeswar barik
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||