This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes ramdom class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "ramdom class" Watch "ramdom class" New topic

ramdom class

AJ sisodia

Joined: Jan 19, 2005
Posts: 16
How and when to use Random class.
Mani Ram
Ranch Hand

Joined: Mar 11, 2002
Posts: 1140
When to use: Whenever you need something in random. If you need a random number, use the Random API. If you need a random String, use the Random API & build the String based on the output.

How to use: Check the API of java.util.Random class

Quaerendo Invenietis
Don't get me started about those stupid light bulbs.
subject: ramdom class
Similar Threads
Doubt about diagram class (realization)
WA #1.....word association
can non-static inner class access any member
andrew has wii
Doubt about diagram class