question archive Consider a class PersonAddress that represents an entry in an address book
Subject:Computer SciencePrice:2.88 Bought3
Consider a class PersonAddress that represents an entry in an address book. Its attributes are
• The first name of the person
• The last name of the person
• The e-mail address of the person
• The telephone number of the person it will
• Access each attribute
• Change the e-mail address
• Test whether two instances are equal based solely on name
Write a method heading for each method.
Write preconditions and post conditions for each method.
Write some Java statements that test the class/
Implement the class.