The following text was written to the standard output stream when the PersonDemo1 program was executed from IntelliJ.
package people;
public class PersonDemo1 {
public static void main(String[] args){
//Create the six person objects
Person bd = new Person("Bob Dylan",5,24,1941 );
Person nr = new Person("Noomi Rapace" ,12,28,1974);
Person pw = new Person("Pharell Williams", 6, 25, 1980);
Person fs = new Person("Frank Sinatra", 8, 30,1967);
Person dk = new Person("Diana Krall", 11, 27,1950);
Person ee = new Person("Edima Ekanem", 3, 28 , 2001);
//display the six person objects to the standard output system
System.out.println();
System.out.println(bd);
System.out.println(nr);
System.out.println(pw);
System.out.println(fs);
System.out.println(dk);
System.out.println(ee);
// display the six person objects to the standard output stream
System.out.println();
System.out.println(bd + " " + bd.initials() + " " + bd.isBoomer());
System.out.println(nr + " " + nr.initials() + " " + nr.isBoomer());
System.out.println(pw + " " + pw.initials() + " " + pw.isBoomer());
System.out.println(fs + " " + fs.initials() + " " + fs.isBoomer());
System.out.println(dk + " " + dk.initials() + " " + dk.isBoomer());
System.out.println(ee + " " + ee.initials() + " " + ee.isBoomer());
}
}