• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

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

 
Ranch Hand
Posts: 232
5
  • 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!





 
author & internet detective
Posts: 38906
684
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: 232
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!