/* * A simple program to create and textually display Person objects */ 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); //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()); } }