1 /* 2 * person demo 1 is a simple program to createa and textually display Person 3 */ 4 package people; 5 6 public class Person1Demo { 7 8 public static void main(String[] args) { 9 Person bd = new Person("Bob Dylan",5,24,1941); 10 Person nr = new Person("Noomi Rapace",12,28,1974); 11 Person pw = new Person("Pharrell Williams",4,5,1973); 12 Person fs = new Person("Frank Sinatra",12,12,1915); 13 Person dk = new Person("Diana Krall",11,16,1964); 14 Person ol = new Person("Owen Lovell",1,16,1999); 15 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 + " " + dk.initials() + " " + dk.isBoomer()); 21 System.out.println(ol + " " + ol.initials() + " " + ol.isBoomer()); 22 } 23 } 24