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"};


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

Computer Science & Information Technology

You might also like to view...

A(n) _________________________ is a horizontal or vertical bar that appears when the contents of an area may not be visible completely on the screen.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

A quick way to add buttons to your document is by using one of the predesigned buttons in the Buttons ____.

A. glossary B. dictionary C. archive D. library

Computer Science & Information Technology

Files cannot be transferred from different platforms, such as Macintosh and Windows

Indicate whether the statement is true or false

Computer Science & Information Technology

An allocation unit is the smallest unit of disk space that stores data and information.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology