Alone as an Island What’s the pride in being a Programmer?
Mar 29

I used to wonder why all methods in the java.lang.Object is public and only finalize is protected.  Finalize is just a callback method which is supposed to be called by the JVM.  So, ideally, it should be private.  Here is a mind-blowing explanation of why finalize is protected?

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis

Tags: , ,

Leave a Reply

Give your best to the world.