• Post Reply Bookmark Topic Watch Topic
  • New Topic

errata on difference between a reference and an objec? (Java OCA 8 Programmer I Study Guide, Sybex)

 
Charles O'Leary
Ranch Hand
Posts: 61
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi again Java OCA 8 Programmer I Study Guide - Sybex Authors,

While I completely understand the point ... finalize() could run 0 or 1 time.   After appropriately stressing "Realizing the difference between a reference and an object goes a long way toward understanding garbage collection", shortly thereafter "While f is eligible for garbage collection" appears to "step on" the message?  Perhaps if should be "While the object (instance of Finalizer class) referenced by f is eligible for garbage collection"?

Thanks.  Great book by the way!





 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36032
432
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Charles,
This could certainly be clearer. I've added it to our private list of notes. Thanks.
 
Charles O'Leary
Ranch Hand
Posts: 61
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!