import java.util.Random;
public class Main {
public static void main(String[] args) {
Random random = new Random();
boolean z = random.nextBoolean();
System.out.println(z);
}
}
Ive searched for other ways to make it work none have been successful please help
New contributor
3