address.java
来自「用java编写的程序」· Java 代码 · 共 42 行
JAVA
42 行
package webbook.beanutils.example;
public class Address {
private String postCode;
private String country;
private String city;
private String addr;
public Address() {
}
public Address(String country, String city, String postCode, String addr) {
this.country = country;
this.city = city;
this.postCode = postCode;
this.addr = addr;
}
public String getPostCode() {
return postCode;
}
public void setPostCode(String postCode) {
this.postCode = postCode;
}
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getAddr() {
return addr;
}
public void setAddr(String addr) {
this.addr = addr;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?