1 package people; 2 public class PersonDemo1 { 3 public static void main(String[] args) { 4 // CREATE THE SIX PERSON OBJECTS 5 Person bd = new Person("Bob Dylan",5,24,1941); 6 Person nr = new Person("Noomi Rapace",12,28,1974); 7 Person pw = new Person("Pharrell Williams", 4, 5 ,1973); 8 Person fs = new Person( "Frank Sinatra", 12, 12, 1915); 9 Person dk = new Person( "Diana Kralll",11, 16, 1964); 10 Person dp = new Person( "Daniel Petti", 6, 23, 2001); 11 12 13 // DISPLAY THE SIX PERSON OBJECTS TO THE STANDARD OUTPUT STREAMS 14 System.out.println(bd + " " + bd.initials() + " " + bd.isBoomer()); 15 System.out.println(nr + " " + nr.initials() + " " + nr.isBoomer()); 16 System.out.println(pw +" " + pw.initials() + " " + pw.isBoomer() ); 17 System.out.println(fs +" " + fs.initials() + " " + fs.isBoomer() ); 18 System.out.println(dk +" " + dk.initials() + " " + dk.isBoomer() ); 19 System.out.println(dp +" " + dp.initials() + " " + dp.isBoomer() ); 20 } 21 }