import java.util.Random; public class MainClass { public static void main(String[] args) { Random diceValues = new Random(); System.out.println(diceValues.nextInt(6)); System.out.println(diceValues.nextInt(6)); } }
5 3