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 customerAddress;
Customer(){
public Customer(){
this.name="";
this.customerAddress="";
}
@ -26,15 +26,15 @@ public class Customer {
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getCustomerAddress() {
return this.customerAddress;
}
public void setName(String name) {
this.name = name;
}
public void setCustomerAddress(String address) {
this.customerAddress = this.name + "," + address;
}