You are viewing a single comment's thread. Return to all comments →
Java Import Random Number Generation, more go here
// import java.util.Random; public static void main(String[] args) { Random r = new Random(1); for(int i=0 ; i<5 ; i++) { // [0, 100) int ran1 = r.nextInt(100); System.out.println(ran1); } }
Seems like cookies are disabled on this browser, please enable them to open this website
Random Number Generator
You are viewing a single comment's thread. Return to all comments →
Java Import Random Number Generation, more go here