Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Random;
- public class DiceRoll {
- public static void main(String[] args){
- Random r = new Random();
- System.out.println("Roll " + r.nextInt(6));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement