generateNumbers()
expects a parameter and you aren’t passing one in!
generateNumbers() also returns after it has set the first random number – seems to be some confusion about what it is trying to do.
More Related Contents:
- Write a function that will sort a string array using Java
- Analzying a table of 1's and 0's using methods
- Java Array Parameter and Array Type Metot [closed]
- Java variable number of arguments for a method
- Write a mode method in Java to find the most frequently occurring element in an array
- Making java method arguments as final
- “Actual or formal argument lists differs in length”
- Can there exist two main methods in a Java program?
- Java – Creating an array of methods
- Difference boolean[] b = {false} vs. boolean b = false? [closed]
- How to write an array to allocate space for 5 things [closed]
- In java, is there anyway to go from a array of objects that got returned to the number of objects in the array? [closed]
- Sorted array in Java: how can I implement? [closed]
- Are arrays passed by value or passed by reference in Java? [duplicate]
- Java Array Sort descending?
- Check string for palindrome
- How to map a PostgreSQL array with Hibernate
- Comparing arrays in JUnit assertions, concise built-in way?
- Getting the array length of a 2D array in Java
- Reversing an Array in Java [duplicate]
- Fastest way to set all values of an array?
- Hibernate, Postgres & Array Type
- Print out elements from an Array with a Comma between the elements
- Calculating average of an array list?
- Java OutOfMemoryError in reading a large text file
- Java Sorting: sort an array of objects by property, object not allowed to use Comparable
- Converting an ArrayList into a 2D Array
- What does java.lang.ArrayIndexOutOfBoundsException mean? [duplicate]
- Random element from string array [closed]
- Array of function pointers in Java [duplicate]