FileDocCategorySizeDatePackage
Customer.javaAPI DocExample349Tue Jun 03 21:44:54 BST 2003None

Customer

public class Customer extends Person

Fields Summary
private int
customerNumber
Constructors Summary
public Customer(String firstName, String lastName, int number)

		super(firstName, lastName);
		setCustomerNumber(number);
	
Methods Summary
public voidsetCustomerNumber(int n)

		if (n < 1)
			throw new IllegalArgumentException("Invalid customer number " + n);
		customerNumber = n;