1 package people; 2 3 //Demoing the person class that was just created 4 5 public class PersonDemo1 { 6 public static void main(String[] Args){ 7 Person bd = new Person("Bob Dylan",05,24,1941); 8 Person nr = new Person("Noomi Rapace",12,28,1974); 9 Person pw = new Person("Pharrell Williams",04,05,1973); 10 Person fs = new Person("Frank Sinatra",12,12,1915); 11 Person dk = new Person("Diana Krall",11,16,1964); 12 Person ds = new Person("David Strong",06,29,2000); 13 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(ds + " " + ds.initials() + " " + ds.isBoomer()); 20 } 21 } 22