It's not a secret anymore!
The moose likes Beginning Java and the fly likes convenience class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "convenience class" Watch "convenience class" New topic

convenience class

aven kimball

Joined: Jun 23, 2005
Posts: 15
if someone says convenience class what does it mean.
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

It is a class used for convenience, i.e. it simplifies some other more complex task.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199


Welcome to JavaRanch!

A "convenience method" or "convenience class" generally means a class that doesn't do anything itself, but provides simplified access to other classes or groups of classes. For example, the "random()" method in java.lang.Math is a convenience method that provides a simple way to use the more powerful java.util.Random class.

[Jess in Action][AskingGoodQuestions]
aven kimball

Joined: Jun 23, 2005
Posts: 15
Thnaks for the nice explanation
I agree. Here's the link:
subject: convenience class
It's not a secret anymore!