// *********************************************************************//   References2.java   (Lab material from [Lewis & Loftus])////   Illustrates references versus primitive variables// *********************************************************************//do the import!public class References2{   public static void main (String[] args)   {      int age1, age2, age3;      System.out.println ("Enter three ages...");     // age1 = ; read them in!     // age2 = ;     // age3 = ;       // Instantiate three Person objects with the ages read in      Person person1 = new Person ("Rachel", age1);      Person person2 = new Person ("Elly", age2);      Person person3 = new Person ("Sarah", age3);      System.out.println();      System.out.println ("The original three people...");      System.out.println (person1 + ", " + person2 + ", " + person3);       // Reassign ages in the int variables       age1 = age2;      age3 = age2;      // Reassign the Person objects       person1 = person2;      person3 = person2;      System.out.println ();      System.out.println ("The changed values are...");      System.out.println ("Ages (ints): " + age1 + ", " + age2 + ", " + age3);      System.out.println (person1 + ", " + person2 + ", " + person3);      // Make some changes to the integer values and corresponding objects      System.out.println ("\nChanging the second age to 99...");      age2 = 99;      person2.changeAge(age2);        System.out.println ("The changed values are...");      System.out.println ("Ages (ints): " + age1 + ", " + age2 + ", " + age3);      System.out.println (person1 + ", " + person2 + ", " + person3);      System.out.println();       System.out.println ("Changing the first age to 100...");      age1 = 100;      person1.changeAge(age1);       System.out.println ("The changed values are...");      System.out.println ("Ages (ints): " + age1 + ", " + age2 + ", " + age3);      System.out.println (person1 + ", " + person2 + ", " + person3);   }}