1 package people; 2 3 public class PersonDemo1 { 4 5 public static void main(String[] arg) { 6 //create the six person objects 7 Person bd = new Person("Bob Dylan", 5, 24, 1974); 8 Person bs = new Person("Neeraj Mishra", 12, 7, 2000); 9 Person dh = new Person("Sunita Nhemafuki", 10, 2, 1950); 10 Person wc = new Person("Adarsh Rauniyar", 8, 20, 1988); 11 Person hh = new Person("Albina Thapa", 3, 14, 2013); 12 Person ht = new Person("Bharosa Adhikari", 01, 01, 2020); 13 14 15 System.out.println(bd + " " + bd.initials() + " " + bd.isBoomer()); 16 System.out.println(bs + " " + bs.initials() + " " + bs.isBoomer()); 17 System.out.println(dh + " " + dh.initials() + " " + dh.isBoomer()); 18 System.out.println(wc + " " + wc.initials() + " " + wc.isBoomer()); 19 System.out.println(hh + " " + hh.initials() + " " + hh.isBoomer()); 20 System.out.println(ht + " " + ht.initials() + " " + ht.isBoomer()); 21 } 22 } 23