class="java" name="code"> public static void main(String[] args) { int randomMax = 999999; int randomMin = 100000; int radomInt = randomMin + new Random().nextInt(randomMax - randomMin); System.out.println(radomInt); int radomInt2 = new Random().nextInt(99999); System.out.println(radomInt2); }