Open Simonefleek opened 6 months ago
Import java.util.Random public class Main { public static void main(String[] args) {
Random random = new Random(); int x = random.nextInt();
System.out.println(x); } }
import java.util.Random; public static void main (String [] args); Randon random = new Random(); double y = random.nextDouble): System.out.println(y);
Import java.util.Random public class Main { public static void main(String[] args) {
Random random = new Random(); int x = random.nextInt();
System.out.println(x); } }