From Mustafa, 1 Year ago, written in Java.
Embed
  1. import java.util.Random;
  2.  
  3. public class membrane {
  4.     int dice() {
  5.         Random a = new Random();
  6.         return a.nextInt(5) + 1;
  7.     }
  8. }