If array is of String type all values are . . . . . . . . by default.

nan
Null
0
Nothing

The correct answer is: A. null

A string array is a data structure that stores a collection of strings. The default value of a string array is null, which means that the array does not contain any elements.

The other options are incorrect because:

  • Option B, “Null”, is not a valid value for a string array.
  • Option C, “0”, is the default value for an integer array.
  • Option D, “Nothing”, is not a valid value for any type of array.