nombre aléatoire entre 1 et 100 java

Random r = new Random();
int randomInt = r.nextInt(100) + 1;
Delta Sierra