1 package people; 2 3 public class PersonDemo2 { 4 public static void main(String[] Args){ 5 Person[] people = new Person[6]; 6 people[0] = new Person("Bob Dylan",05,24,1941); 7 people[1] = new Person("Noomi Rapace",12,28,1974); 8 people[2] = new Person("Pharrell Williams",04,05,1973); 9 people[3] = new Person("Frank Sinatra",12,12,1915); 10 people[4] = new Person("Diana Krall",11,16,1964); 11 people[5] = new Person("David Strong",06,29,2000); 12 13 for (int i = 0; i < people.length; i++){ 14 System.out.println(people[i] + " " + people[i].initials() + " " + people[i].isBoomer()); 15 } 16 } 17 } 18