fork(1) download
  1. package gerarOrganizar;
  2. import java.util.Random;
  3. class GerarOrganizar {
  4. public static void main(String[] args) {
  5. int[] numerosAleatorios = new int[100];
  6. Random geradorRandomico = new Random();
  7. for(int i = 0; i < 100; i++) {
  8. numerosAleatorios[i] = geradorRandomico.nextInt(250);
  9. System.out.println(numerosAleatorios[i]); //deixei para vocĂȘ ver funcionando
  10. }
  11. }
  12. }
  13.  
  14. //https://pt.stackoverflow.com/q/35290/101
Runtime error #stdin #stdout #stderr 0.06s 4386816KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Error: Could not find or load main class GerarOrganizar