Which of the following array declarations are invalid?

a)```
int[] grades = new int[5];
```
b)```
int grades[] = new int[5];
```
c)```
int[] grades = { 91, 83, 42, 100, 77 };
```
d) all of the above are valid
e) none of the above are valid

d) all of the above are valid

Computer Science & Information Technology

You might also like to view...

________ displays a presentation outline to the left of the Slide pane and can be edited and displayed immediately

Fill in the blank(s) with correct word

Computer Science & Information Technology

VTP messages are sent periodically every ________ minutes

A) 10 B) 5 C) 30 D) 60

Computer Science & Information Technology