package test;
class Address{
private String country;
private String province;
private String city;
private String street;
private String postnumber;
public Address(String country,String province,String city,String street,String postnumber){
System.out.println("这是一位来自"+country+province+city+street+postnumber+"的顾客");
}
}
public class LoginDemo02 {
public static void main(String[] args) {
Address ad=new Address("中国","江苏省","南京市","点将台路","210031");
}
}