You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
580 B
22 lines
580 B
package hs.fulda.de.ci.exam.project;
|
|
|
|
public class Address {
|
|
String streetAddress;
|
|
String city;
|
|
String state;
|
|
String zipCode;
|
|
String country;
|
|
|
|
public Address(String streetAddress, String city, String state, String zipCode, String country) {
|
|
this.streetAddress = streetAddress;
|
|
this.city = city;
|
|
this.state = state;
|
|
this.zipCode = zipCode;
|
|
this.country = country;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return streetAddress + ", " + city + ", " + state + ", " + zipCode + ", " + country;
|
|
}
|
|
}
|