PersonDemo1.java
1    package people;
2    
3    class PersonDemo1 {
4        public static void main(String[] args) {
5            //Create the six person objects
6            Person bd= new Person("Bob Dylan", 5, 24, 1941);
7            Person nr= new Person("Noomi Rapace", 12, 28, 1974);
8            Person pw= new Person("Pharrell Williams", 11, 14, 1973 );
9            Person fs= new Person("Frank Sinatra", 9, 5, 1971 );
10           Person dk= new Person("Diana Krall", 3, 25, 1965 );
11   
12           // Display the six person objects to the standard output stream
13           System.out.println(bd+" "+ bd.initials()+ " " + bd.isBoomer());System.out.println(nr+ " "+ nr.initials()+ " "+ nr.isBoomer());
14           System.out.println(pw+ " "+ pw.initials()+ " "+ pw.isBoomer() );
15           System.out.println(fs + " "+ fs.initials()+ " "+ fs.isBoomer());
16           System.out.println(dk + " "+ dk.initials()+ " "+ dk.isBoomer());
17       }
18   
19   }