PersonDemo2.java
1    package people;
2    
3    public class PersonDemo2 {
4    
5        public static void main(String[] args) {
6            Person[] people = new Person[6];
7            people[0] = new Person("Bob Dylan",5,24,1941);
8            people[1] = new Person("Noomi Rapace",12,28,1974);
9            people[2] = new Person("Nick Paraboo",10,9,1997);
10           people[3] = new Person("Christopher Gayguy", 11, 10,1999);
11           people[4] = new Person("Dominic Comito", 9, 21,2000);
12           people[5] = new Person("John Stamose", 8, 19,1963);
13   
14   
15           for(int x = 0; x < people.length; x++){
16               System.out.println(people[x].firstName() + " " + people[x].lastName() + ", born " + people[x].month() + "/" + people[x].day() + "/" + people[x].year() + " " + people[x].initials() + " " + people[x].isBoomer());
17           }
18       }
19   
20   }
21   
22