Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Random;
- public class LevelThree
- {
- public static int randInt()
- {
- Random rand = new Random();
- int randomNum = rand.nextInt(100) + 1;
- return randomNum;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement