Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

Sponsored Links

Optimize with a SATA RAID Storage Solution
Range of capacities as low as $1250 per TB. Ideal if you currently rely on servers/disks/JBODs

Mr. Happy Object teaches static methods

When to choose static methods over instance methods

  • Print
  • Feedback

Page 3 of 3

Utility classes have another use. Sometimes you cannot extend a class because it is declared final. Utility classes are an excellent place to put methods that you would have otherwise put into a subclass.

About the author

Tony Sintes is an independent consultant and founder of First Class Consulting, Inc., a consulting firm that specializes in the bridging of disparate enterprise systems and training. Outside of First Class Consulting, Tony is an active freelance writer as well as author of Sams Teach Yourself Object-Oriented Programming in 21 Days (Sams, 2001; ISBN: 0672321092).
  • Print
  • Feedback

Resources