Originally posted by Gagan Sabharwal:
SCJP(K&B)question 2,Self Test, chapter 3 -Assignments
How many objects are elligible for garbage collection?
1)1
2)2
The answer is the second option.But i am unable to understand the reason for it.
Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
As I said, it's a very good explanation for the corrected example.Originally posted by Sahid Khan:
Akhilesh's arguments remain true, assuming the corrected example i.e., story=200.
Line 3 - what does this line do.Object creation?
Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Don't get me started about those stupid light bulbs. |