Lou Nel Email: lou@chat.ca Birthday: June 20, 1960 Objects are identical Adding Frank to first set Adding Eric to first set Adding Mary to first set Adding John to first set Initializing Ints Adding ints 5, 12, 12, 42 Printing the Set 5 12 12 42 Adding three dates to set Printing the Set January 1, 2001 December 15, 2001 July 29, 2001 Print names with last name first Lou Nel Email: lou@chat.ca Birthday: June 20, 1960 Frank Smith Email: f123@chat.ca Birthday: March 20, 1967 Eric Johnson Email: eric@chat.ca Birthday: April 25, 1958 Mary Pearson Email: mary@chat.ca Birthday: April 25, 1955 Changing the order of the name Nel, Lou Email: lou@chat.ca Birthday: June 20, 1960 Smith, Frank Email: f123@chat.ca Birthday: March 20, 1967 Johnson, Eric Email: eric@chat.ca Birthday: April 25, 1958 Pearson, Mary Email: mary@chat.ca Birthday: April 25, 1955 Adding Alan to set Adding Eric to set Adding Bruce to set Setting second set to equal first set Printing first set Nel, Lou Email: lou@chat.ca Birthday: June 20, 1960 Smith, Frank Email: f123@chat.ca Birthday: March 20, 1967 Johnson, Eric Email: eric@chat.ca Birthday: April 25, 1958 Pearson, Mary Email: mary@chat.ca Birthday: April 25, 1955 Smith, John Email: john@chat.ca Birthday: December 12, 1970 Johns, Alan Email: alan@chat.ca Birthday: March 20, 1967 Turner, Eric Email: et@chat.ca Birthday: April 25, 1958 Jones, Bruce Email: bruce@chat.ca Birthday: April 25, 1955 Printing Second set Nel, Lou Email: lou@chat.ca Birthday: June 20, 1960 Smith, Frank Email: f123@chat.ca Birthday: March 20, 1967 Johnson, Eric Email: eric@chat.ca Birthday: April 25, 1958 Pearson, Mary Email: mary@chat.ca Birthday: April 25, 1955 Smith, John Email: john@chat.ca Birthday: December 12, 1970 Johns, Alan Email: alan@chat.ca Birthday: March 20, 1967 Turner, Eric Email: et@chat.ca Birthday: April 25, 1958 Jones, Bruce Email: bruce@chat.ca Birthday: April 25, 1955 Element returned by someElement() in second set: Nel, Lou Email: lou@chat.ca Birthday: June 20, 1960 Is Lou in the set? Yes Try to remove Lou using remove() Printing second set Smith, Frank Email: f123@chat.ca Birthday: March 20, 1967 Johnson, Eric Email: eric@chat.ca Birthday: April 25, 1958 Pearson, Mary Email: mary@chat.ca Birthday: April 25, 1955 Smith, John Email: john@chat.ca Birthday: December 12, 1970 Johns, Alan Email: alan@chat.ca Birthday: March 20, 1967 Turner, Eric Email: et@chat.ca Birthday: April 25, 1958 Jones, Bruce Email: bruce@chat.ca Birthday: April 25, 1955 Creating Person Creating another person Creating Person Three A Person: Person, A Email: person@chat.ca Birthday: February 12, 1982 Another Person: Person, Another Email: another@chat.ca Birthday: April 24, 1982 Person Three: Person, Another Email: another@chat.ca Birthday: April 24, 1982 Make A Person = Another Person A Person: Person, Another Email: another@chat.ca Birthday: April 24, 1982 Another Person: Person, Another Email: another@chat.ca Birthday: April 24, 1982 Person Three: Person, Another Email: another@chat.ca Birthday: April 24, 1982 Creating Name One: Name1 Creating Name Two: Two, Name Creating Name Three (with n1): Name1 Setting n3 = n2 Name One: Name1 Name Two: Two, Name Name Three: Two, Name Objects have their own heap space Deleting first set of Persons Deleting extra Persons Deleting extra Names Deleting set of Dates Press any key to continue . . .