Monday, 9 June 2014

how to use random function in android

Random function

Random rand = new Random();
int rnd = rand.nextInt(16);
System.out.println("~~~~~~"+rnd);

No comments:

Post a Comment