File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes helper class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Storm Applied this week in the Other Open Source APIs forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "helper class" Watch "helper class" New topic

helper class

Morgan Roth

Joined: Oct 31, 2002
Posts: 17
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

Joined: May 26, 2003
Posts: 31826

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.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
I agree. Here's the link:
subject: helper class