Which correctly create an array of five empty Strings?
A.String a [] = new
String [5];
for (int i = 0; i < 5; a[i++] = "");
B.String a [] = {"", "", "", "", ""};
C.String a [5];
D.String [5] a;
E.String [] a = new String [5];
for (int i = 0; i < 5; a[i++] = null);
The answer should be A) B) but the given answe was only B)
in
http://www.sarga.com/