Write an array declaration for each of the following situati
Write an array declaration for each of the following situations:
1. For an array called alphabet that could hold all of the letters (i.e. characters) of the English alphabet. Remember, there are 26 characters in the English alphabet.
2. For an array called games that holds the number of games played in the baseball season for 15 teams
3. For an array called answers that holds the true or false answers for a set of 25 exam questions.
4. For an array called workers that holds 600 Employee objects
Solution
char[] alphabet = new char[26]
int[] games = new int[15];
boolean[25] answers = new boolean[25];
Employee[] workers = new Employee[600];
