Determine which of following statements are true(multiple options)
1)Garbage collection is performed by a low priority daemon thread. 2)garbage collection always uses mark and sweep algorithm 3)The finalize() method is invoked for the objects in the order in which they were created. 4)The finalize method is typically used to free up the resouces other than memory. 5)objects that are created and accessed locally within the method ,are eligible for garbage collection when the method returns.
I'm not sure the original question was quoted exactly, and especially for GC questions the EXACT wording is important - if that IS the exact wording then the question is suspect. Given all that, I don't think you guys have the correct answer yet - although I would say that before spending too much more time on this one, the thread originator should verify that the EXACT wording has been used.
Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)