Update Customer.java

This commit is contained in:
abhibavishi 2015-06-19 01:50:11 +05:30
parent adfa9cb485
commit 96671227b4
1 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ public class Customer {
private String name; private String name;
private String customerAddress; private String customerAddress;
Customer(){ public Customer(){
this.name=""; this.name="";
this.customerAddress=""; this.customerAddress="";
} }
@ -27,14 +27,14 @@ public class Customer {
return name; return name;
} }
public String getCustomerAddress() {
return this.customerAddress;
}
public void setName(String name) { public void setName(String name) {
this.name = name; this.name = name;
} }
public String getCustomerAddress() {
return this.customerAddress;
}
public void setCustomerAddress(String address) { public void setCustomerAddress(String address) {
this.customerAddress = this.name + "," + address; this.customerAddress = this.name + "," + address;
} }