Last active
April 17, 2021 16:29
-
-
Save abircse/3ebaba5077f69140a8037bbf3282d589 to your computer and use it in GitHub Desktop.
RandomCodeGeneratorInNumberUtils
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
object RandomIntGenerator { | |
fun generate(): Int { | |
val rnd = Random() | |
val number = rnd.nextInt(999999) | |
return number | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment