1 /* 2 * This is a demo that checks if I messed up Person 3 */ 4 5 package people; 6 7 public class Person1 { 8 9 public static void main(String[] args){ 10 11 Person bd = new Person("Bob Dylan",5,24,1941); 12 Person nr = new Person("Noomi Rapace", 12,28,1974); 13 Person dj = new Person("Dwayne Johnson", 4, 2, 1972); 14 Person mm = new Person("Marilyn Monroe", 6, 1, 1926); 15 Person mb = new Person("Mel Blanc", 5, 30, 1908); 16 Person rd = new Person("Roald Dahl", 9, 13, 1916); 17 18 System.out.println(bd + " " + bd.initials() + " " + bd.isBoomer()); 19 System.out.println(nr + " " + nr.initials() + " " + nr.isBoomer()); 20 System.out.println(dj + " " + dj.initials() + " " + dj.isBoomer()); 21 System.out.println(mm + " " + mm.initials() + " " + mm.isBoomer()); 22 System.out.println(mb + " " + mb.initials() + " " + mb.isBoomer()); 23 System.out.println(rd + " " + rd.initials() + " " + rd.isBoomer()); 24 25 } 26 27 } 28