Java Cart .

Java Cart Account java

package cart;

//Account
//author - Lawrence Truett - FluffyCat.com
//date - August 12, 2003 - San Diego, CA
public class Account {
    private AccountHolder mainAccountHolder;
    
    public Account() {
        this.setAccountHolder(new AccountHolder());
    }
    
    public Account(AccountHolder accountHolderIn) {
        this.setAccountHolder(accountHolderIn);
    }
    
    public AccountHolder getAccountHolder() {
        return mainAccountHolder;
    }
    public void setAccountHolder(AccountHolder accountHolderIn) {
        this.mainAccountHolder = accountHolderIn;
    }
}
To download source right-click here and "Save As...".
Comments
Sign in to be the first to comment on Java Cart Account java.