Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Random;
- public class RandomNumberGen {
- public static void main(String[] args) {
- final Random randomNumberGenerator = new Random();
- for (int i = 0; i < 100; ++i) {
- System.out.print(randomNumberGenerator.nextInt(1000));
- System.out.print(", ");
- }
- System.out.println();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement