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