package com.mssngvwls;

import org.springframework.stereotype.Service;

@Service
public interface RandomNumberGenerator {

    public int between(final int lower, final int upper);
}

@@ -17,16 +17,64 @@
 gvwls;%0A%0A
+import java.util.concurrent.ThreadLocalRandom;%0A%0A
 import o
@@ -133,17 +133,13 @@
 lic 
-interface
+class
  Ran
@@ -216,12 +216,89 @@
 t upper)
-;
+ %7B%0A        return ThreadLocalRandom.current().nextInt(lower, upper + 1);%0A    %7D
 %0A%7D%0A

Implement random number generator