diff --git a/Assignment2/src/assignment2/Address.java b/Assignment2/src/assignment2/Address.java index 6f6cd4efcd488319454e86ae3cc3f204dd0b9efd..f97edb113b5bbcb93bb0c79ac489078d01000011 100644 --- a/Assignment2/src/assignment2/Address.java +++ b/Assignment2/src/assignment2/Address.java @@ -8,6 +8,52 @@ public class Address { String country; Address(String street, String city, String state, String zip, String country) { - + this.street = street; + this.city = city; + this.state = state; + this.zip = zip; + this.country = country; } + + public String getStreet() { + return street; + } + + public void setStreet(String street) { + this.street = street; + } + + public String getCity() { + return city; + } + + public void setCity(String city) { + this.city = city; + } + + public String getState() { + return state; + } + + public void setState(String state) { + this.state = state; + } + + public String getZip() { + return zip; + } + + public void setZip(String zip) { + this.zip = zip; + } + + public String getCountry() { + return country; + } + + public void setCountry(String country) { + this.country = country; + } + + } \ No newline at end of file