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
Diego Malvar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
3