Last active
August 29, 2015 14:02
-
-
Save azakordonets/88ca5f183e81dcb947ca to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public int randomIntGenerator(int minimum, int maximum) { | |
| Random rn = new Random(); | |
| return rn.nextInt(maximum - minimum) + minimum; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment