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