Java Cart .

Java Cart EMail java

package cart;

//EMail - has methods to store an email address
//author - Lawrence Truett -
//date - August 12, 2003 - San Diego, CA
public class EMail {
    private String rawEMail = null;
    public EMail() {}
    public EMail(String eMailIn) {
    //for now just store raw email address as passed in
    public String getEMail() {return rawEMail;}
    private void setEMail(String eMailIn) {this.rawEMail = eMailIn;}
    public String toString() {return ("email: " + this.getEMail());}    
To download source right-click here and "Save As...".
Sign in to be the first to comment on Java Cart EMail java.