to initialize a string array in java code example Example: java initialize string array String[] movies;