Connecting Tech Pros Worldwide Help | Site Map

hay help me plz

Newbie
 
Join Date: Sep 2009
Posts: 1
#1: Sep 24 '09
i want to know the difference between generating a random number with Math.random(); and by creating a Random object...
JosAH's Avatar
Expert
 
Join Date: Mar 2007
Posts: 10,611
#2: Sep 24 '09

re: hay help me plz


Quote:

Originally Posted by krish007 View Post

i want to know the difference between generating a random number with Math.random(); and by creating a Random object...

Your question blatantly shows that you have never read the API documentation for the Math.random() method. Reading is just a simple eyeball movement; you should try it once.

Jos
Reply


Similar Java bytes