This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

helper class

 
Morgan Roth
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have learned a lot of java, but I realized I miss the concept of the 'helper class'. What is the fundamental reason for a helper class. I feel like I'm missing something. Thanks in advance.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34084
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Morgan,
A helper class is sometimes called a utility class. This is a class that has methods that have meaning on their own and make some other task easier. Suppose, my job is to write a program to read in a file and do some processing. I would write/call a helper class to read in the file. This allows me to focus on the processing logic in the main class.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic