The following text was written to the standard output stream when the PersonDemo1.java program was executed from Netbeans.
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package people; /** * * @author ecuevas */ public class PersonDemo1 { /** * @param args the command line arguments */ 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("Pharrell Williams", 4,5,1973); Person fs = new Person("Frank Sinatra", 12,12,1915); Person dk = new Person("Diana Krall", 11,16,1964); Person ec = new Person("Eric Cuevas", 7,11,2000); // DISPLAY THE SIX PERSON OBJECTS TO THE STANDARD OUTPUT STREAM 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(ec + " " + ec.initials() + " " + ec.isBoomer()); } }