How do we generate a random but unique number in Java -
i trying generate random unique number every http request hitting application.
how make sure uniqueness of such number. java provide method or api this?
you use java.util.random - http://java.about.com/od/javautil/a/randomnumbers.htm
Comments
Post a Comment