/home/ssingh6/NetBeansProjects/CS1/src/people/PersonDemo1.java
 1 /*
 2  * To change this license header, choose License Headers in Project Properties.
 3  * To change this template file, choose Tools | Templates
 4  * and open the template in the editor.
 5  */
 6 package people;
 7 
 8 /**
 9  *
10  * @author ssingh6
11  */
12 import people.Person;
13 public class PersonDemo1 {
14 
15     /**
16      * @param args the command line arguments
17      */ 
18     
19             
20     public static void main(String[] args) {
21         Person bd = new Person("Bob Dylan",5,24,1941);
22         Person nr = new Person("Noomi Rapace",12,28,1974);
23         Person pw = new Person("Pharrell Williams",4,5,1973);
24         Person fs = new Person("Frank Sinatra",12,12,1915);
25         Person dk = new Person("Diana Krall",11,16,1964);
26         Person ss = new Person("SoorajSanjayPratap Singh",11,12,1999);
27         
28     System.out.println(bd + " " + bd.initials() + " " + bd.isBoomer());
29      System.out.println(nr +" " + nr.initials() + " " + nr.isBoomer());
30     System.out.println(pw + " " + pw.initials() + " " + pw.isBoomer());
31     System.out.println(fs + " " + fs.initials() + " " + fs.isBoomer());
32     System.out.println(dk + " " + dk.initials() + " " + dk.isBoomer());
33     System.out.println(ss + " " + ss.initials() + " " + ss.isBoomer());
34        
35                 
36         
37     }
38     
39 }  
40 
41 
42