string[] init code example Example 1: java initialize string array String[] movies; Example 2: java new string with values new String[]{"day", "week", "month"}