Tuesday, December 30, 2008

Which of the following statements are true?

1:Garbage collection is platform dependent
2:You can suggest when garbage collection will run but cannot be certain when it will take place
3:A reference to a primitive variable is eligable for garbage collection when it is set to null
4:The automatic garbage collection of the JVM prevents programs from ever running out of memory

No comments: