package people; //this is simply a demo of the person class, textually displaying the person objects created. //it also displays there initials and there whether they are a boomer or not. public class PersonDemo1 { public static void main(String[] args) { // creates 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 jg = new person("Jomnathen Germakovski",5,1,2001); // Displays the six people objects recreated 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(jg + " " + jg.initials()+ " " + jg.isBoomer()); } }