This repository acts as a personal archive for my solutions to EdX course *Data Structures and Software Design* from PennX.
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.
|
|
|
public class PublishingLocation {
|
|
|
|
private String city;
|
|
private String state;
|
|
private String postCode;
|
|
|
|
public PublishingLocation(String city, String state, String postCode){
|
|
this.city = city;
|
|
this.state = state;
|
|
this.postCode = postCode;
|
|
}
|
|
|
|
public String getCity() {
|
|
return city;
|
|
}
|
|
|
|
public String getState() {
|
|
return state;
|
|
}
|
|
|
|
public String getPostCode() {
|
|
return postCode;
|
|
}
|
|
}
|