Java Taskbook Level 7.8
Create a method that takes an array as a parameter and returns a random element of that array.
Make a method that takes an array as a parameter and returns an array of N
random elements of that array.
Make a method that takes an array as a parameter and returns a random element of that array so that the same elements are not returned twice in a row.
Create a method that will return an array of prime numbers from a given range.
Create a method that will accept any number of numbers as parameters and return their sum.
Create a method that will fill an array of N
random numbers from a given range so that there are no two identical numbers in a row in the array.
Create a method that will fill an array of N
random numbers from a given range so that the numbers do not repeat.