// Initialising an array of Strings String[] getFruits() { // Allocate space for the array and set all elements to null. String[] s = new String [3]; // Allocate the individual elements. // at this point s[i] is null not "" s[0] = "banana"; s[1] = "strawberry"; s[2] = favouriteFruit(); return s; }