java declare string array with values code example Example: java initialize string array String[] movies;