Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 3
what is the output..
Random rand = new Random(); int x = rand.nextInt(3): System.out.print(x);
1 Resposta
+ 23
The output is random. "x" may be 0, 1 or 2.
Random rand = new Random(); int x = rand.nextInt(3): System.out.print(x);