SyntaxFix
Write A Post
Hire A Developer
Questions
Like this,
Random random = new Random(); int randomNumber = random.nextInt(upperBound - lowerBound) + lowerBound;