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...

Application software can also be referred to as a ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

When something becomes ________ it has become immensely popular via word of mouth on the Internet

A) bookmarked B) viral C) blogged D) posted

Computer Science & Information Technology

The ________ element determines the number and size of frames on a framed Web page

A) iframe B) frameset C) frame D) noframes

Computer Science & Information Technology

Which of the following methods is applied to define acustom object?

A. sort()method B. Shuffle()method C. create()method D. Console.log()method

Computer Science & Information Technology