String[] fruits; ... fruits = new String[] { "banana" , "pear" , "orange" , null, favouriteFruit() };