diff --git a/src/Singe.java b/src/Singe.java new file mode 100644 index 0000000..62ae3bf --- /dev/null +++ b/src/Singe.java @@ -0,0 +1,11 @@ +import java.util.Random; +import java.util.concurrent.Callable; + +public class Singe implements Callable { + Random random = new Random(); + + @Override + public Integer call() throws Exception { + return random.nextInt(10); + } +}