This is really basic stuff...get a book.  Read the API.  Generating random
numbers is one of the first things any programmer learns.

java.lang.Math.random()
java.util.Random
java.security.SecureRandom

Mark

-----Original Message-----
From: Arunkumar_N [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 20, 2002 8:41 AM

In one of my application,I need to generate 30 digit unique number
randomly.
Is there any Java component which I can use ready made.

Regards
Arun

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to