This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes calling random number generator Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "calling random number generator" Watch "calling random number generator" New topic
Author

calling random number generator

satyam gupt
Greenhorn

Joined: Feb 13, 2004
Posts: 8
hellow friends
I am making a game in which i want to call random fuction.how can i do this? please help me
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24081
    
  15

Moving this to the Java beginner's forum.


[Jess in Action][AskingGoodQuestions]
Stuart Chambers
Greenhorn

Joined: Feb 01, 2004
Posts: 7
If you want to generate a random number take alook at the following link:
http://www.javaranch.com/maha/Resources/gotchas_1_.html#RANDOM
This should contain all the info you need.
PS. This is my first posting, I hope it was useful.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: calling random number generator
 
Similar Threads
WA #1.....word association
checking load of include files
java graphic problem
NEed Help!
how to generate random unique alphanumeric numbers