SyntaxFix
Write A Post
Hire A Developer
Questions
Use Random.nextInt(int).
In your case it would look something like this:
a[i][j] = r.nextInt(101);