1 package people; 2 3 public class personDemo1code { 4 5 public static void main (String[] args){ 6 7 // create the six person objects 8 Person bd = new Person ("Bob Dylan",5,24,1941); 9 Person nr = new Person ("Noomi Rapace",12,28,1947); 10 Person pw = new Person ("Pharrell Williams", 5,24,1988); 11 Person fs = new Person("Frank Sinatra", 8,6,1587); 12 Person dk = new Person("Diana Krall", 12,12,1949); 13 Person wh = new Person("Sahalie Sullivan", 4,2,1999); 14 15 // Display the six person objects to the standard output stream 16 System.out.println(bd + " " +bd.initials()+" "+bd.isBoomer()); 17 System.out.println(nr + " " +nr.initials()+" "+nr.isBoomer()); 18 System.out.println(pw + " " +pw.initials()+" "+pw.isBoomer()); 19 System.out.println(fs + " " +fs.initials()+" "+fs.isBoomer()); 20 System.out.println(dk + " " +bd.initials()+" "+dk.isBoomer()); 21 System.out.println(wh + " " +bd.initials()+" "+wh.isBoomer()); 22 } 23 24 }