String[] sa = new String[5];
The declaration means we have 5 Strin variables:
sa[0], sa[1], sa[2], sa[3], sa[4]
Each of these int variables is automatically initialized to the default value for type String.
So, for example, sa[3] is null
String[] sa = new String[5];
The declaration means we have 5 Strin variables:
sa[0], sa[1], sa[2], sa[3], sa[4]
Each of these int variables is automatically initialized to the default value for type String.
So, for example, sa[3] is null