PersonDemo1.java
1    package people;
2    
3    public class PersonDemo1 {
4    
5        public static void main(String[] args) {
6    
7            Person bd = new Person("Bob Dylan",5,24,1941);
8            Person nr = new Person("Noomi Rapace",12,28,1974);
9            Person pw = new Person("Pharrell Williams",4,5,1973);
10           Person fs = new Person("Frank Sinatra", 12,12 ,1915);
11           Person dk = new Person("Diana Krall", 11,16,1964);
12           Person rm = new Person("Raven Mitchell", 12,7,1999);
13   
14           System.out.println(bd + " " +bd.initials() + " " + "isBabyBooomer: "+bd.isBoomer());
15           System.out.println(nr + " " +nr.initials() + " " + "isBabyBooomer: "+nr.isBoomer());
16           System.out.println(pw + " " +pw.initials() + " " + "isBabyBooomer: "+pw.isBoomer());
17           System.out.println(fs + " " +fs.initials() + " " + "isBabyBooomer: "+pw.isBoomer());
18           System.out.println(dk + " " +dk.initials() + " " + "isBabyBooomer: "+dk.isBoomer());
19           System.out.println(rm + " " +rm.initials() + " " + "isBabyBooomer: "+rm.isBoomer());
20       }
21   }
22