Salesforce.com

  www.salesforce.com
Work in HR? Unlock Free Profile

Interview Question

Anonymous Interview(Student Candidate) San Francisco, CA

How does the garbage collector know if an object can be

  collected?
Answer

Interview Answer

1 Answer

0

1.when the object is no longer referenced by anyother object.
2. when the obj is defined null

sadhana on Apr 24, 2014

Add Answers or Comments

To comment on this question, Sign In with Facebook or Sign Up