1 package people; 2 3 public class PersonDemo1 { 4 public static void main(String[] args) { 5 // Create six person object 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", 4, 5, 1973); 9 Person fs = new Person("Frank Sinatra", 12,12,1915); 10 Person dk = new Person("Diana Krall", 11,16,1964); 11 Person bg = new Person("Ben Gieger", 6,7,1999); 12 Person jl = new Person("Jon Luppens", 2,10,1999); 13 14 // Display the people to the system output 15 System.out.println(bd + " " + bd.initials() + " " + bd.isBoomer()); 16 System.out.println(nr + " " + nr.initials() + " " + nr.isBoomer()); 17 System.out.println(pw + " " + pw.initials() + " " + pw.isBoomer()); 18 System.out.println(fs + " " + fs.initials() + " " + fs.isBoomer()); 19 System.out.println(dk + " " + dk.initials() + " " + dk.isBoomer()); 20 System.out.println(bg + " " + bg.initials() + " " + bg.isBoomer()); 21 System.out.println(jl + " " + jl.initials() + " " + jl.isBoomer()); 22 } 23 } 24