Which of the following are valid declarations? Which instantiate an array object? Explain your answers.
int primes = {2, 3, 4, 5, 7, 11};float elapsedTimes[] = {11.47, 12.04, 11.72, 13.88};int[] scores = int[30];
int[] primes = new {2,3,5,7,11};int[] scores = new int[30];
char grades[] = {'a', 'b', 'c', 'd', 'f'};char[] grades = new char[];
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.