Which correctly creates an array of five empty Strings?

a. String[] a = new String [5];
b. String[] a = {"", "", "", "", ""};
c. String[5] a;
d. String[ ] a = new String [5]; for (int i = 0; i < 5; a[i++] = null);

b

Computer Science & Information Technology

You might also like to view...

The Windows 8 operating system supports ________ devices

Fill in the blank(s) with correct word

Computer Science & Information Technology

Discuss some of the advanced data modeling techniques made possible with the PowerPivot add-in

What will be an ideal response?

Computer Science & Information Technology