java how to create array of email with initial values code example Example: java array declaration int[] array = new int[/*size*/]; // Works for double, char, etc.