static int randomNumberWithinRange(int lower,int upper){ Random rnd = new Random(); return lower + rnd.nextInt(upper-lower); }
No comments:
Post a Comment