/home/rkanin/NetBeansProjects/CS1/src/people/PersonDemo2.java
 1 /*
 2  * To change this license header, choose License Headers in Project Properties.
 3  * To change this template file, choose Tools | Templates
 4  * and open the template in the editor.
 5  */
 6 package people;
 7 
 8 /**
 9  *
10  * @author rkanin
11  */
12 public class PersonDemo2 {
13 
14     /**
15      * @param args the command line arguments
16      */
17     public static void main(String[] args) {
18         Person[] person = new Person[6];
19         
20         person[0] = new Person("Bob Dylan" ,5,24,1941);
21         person[1] = new Person("Noomi Rapace" ,12,28,1974);
22         person[2] = new Person("Pharrell William", 4, 5, 1973);
23         person[3] = new Person("Frank Sinatra", 12 , 12, 1915);
24         person[4] = new Person("Diana Krall", 12, 16, 1964);
25         person[5] = new Person("Richard Kanin" , 10, 24, 2000);
26     
27      for (Person rk : person){
28             System.out.println(rk + " " + rk.initials()+ " " + rk.isBoomer());
29 }
30 }
31 }
32 
33