Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

How to Generate Random Numbers in java

Share this post!
 Vote this!

Generating a series of random numbers is one of those common tasks that crops up from time to time. In Java, it can be achieved simply by using the java.util.Random class.
The first step, as with the use of any API class, is to put the import statement before the start of your program class:  More...

1 comment:

  1. Awesome!! You have the best article on this topic. You're doing a great job.
    Thanks for sharing.
    http://www.flowerbrackets.com/random-numbers-in-java/

    ReplyDelete