import java.util.*;
import java.lang.*;
import java.io.*;
// The main method must be in a class named "Main".
class Main {
public static void main(String[] args) {
var list = createRandomList(10);
System.out.println(list);
}
public static List<Integer> createRandomList(int size) {
var random = new Random();
var list = new ArrayList<Integer>();
for (int i = 0; i < size; i++) {
list.add(random.nextInt(100000) + 1);
}
return list;
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: