Which of the following is correct?

a. String[] list = new String{"red", "yellow", "green"};
b. String[] list = new String[]{"red", "yellow", "green"};
c. String[] list = {"red", "yellow", "green"};
d. String list = {"red", "yellow", "green"};
e. String list = new String{"red", "yellow", "green"};

bc

Computer Science & Information Technology

You might also like to view...

If the Repeat Count and Repeat Expression action arguments are left blank, the macro will run ________ time(s)

Fill in the blank(s) with correct word

Computer Science & Information Technology

Tools that include a small white triangle have ____ tools beneath them.

A. related B. transform C. hidden D. locked

Computer Science & Information Technology