• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

calling random number generator

 
satyam gupt
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the Java beginner's forum.
 
Stuart Chambers
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic