Java automatically reclaims the memory used by objects and arrays which are no longer reachable. In Figure 6–17, the List Node removed from the Linked Queue is still reachable through the field back. Is there a danger that a great deal of memory could be taken up by such List Nodes? Explain.
Figure 6–17
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here