/** * A Customer is a someone who uses this business. * */ public class Customer implements BusinessContact { // instance variables private String name; // customer's name private String address; // customer's address /** Construct a Customer with the given name and address */ public Customer(String name, String address) { this.name = name; this.address = address; } /** Change the address of this customer */ public void setAddress(String address) { this.address = address; } /** Return the name of this customer */ public String getName() { return this.name; } /** Return the address of this customer */ public String getAddress() { return this.address; } /** * Override toString from Object: write in a String * the name and address of this Customer */ public String toString() { return this.name + " " + this.address; } }