• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Helper class for customised Task

 
Ranch Hand
Posts: 594
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is Helper class.Why we need that in our application.Can I write any helper class for my customised task
 
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your question might be way easier to answer if you specify (a) what your actual task is, and (b) what your "helper class" is supposed to do ... in general, you can create as many different classes as you like, for whatever purpose you like.
 
Ranch Hand
Posts: 341
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Helper classes are just a term that developers give to classes that are used to assist in providing some functionality, though that functionality isn't the main goal of the application.

A Helper class is a simple java class. It is used to reduce the amount of redundancy in your code. Basically, they are utility classes that may be used several times accross the application.

jacob deiter: Can I write any helper class for my customised task



Yes. Indeed you can, but, the precise thing is that making a helper class just for the sake of separating a customised task may not be the best option, if it's just used at a single place.

Also, you may like to have a look at view helper
[ April 24, 2008: Message edited by: Anubhav Anand ]
reply
    Bookmark Topic Watch Topic
  • New Topic