// Arup Guha
// 1/16/2010
// Basic class that stores Card information.

public class Card {

	// Four components of a Card.	
	protected String firstName;
	protected String lastName;
	protected int startYear;
	protected int curYear;
	
	// Standard constructor.
	public Card(String first, String last, int year) {
		firstName = first;
		lastName = last;
		startYear = year;
		curYear = year;
	}
	
	// Go to the next year.
	public void advanceYear() {
		curYear++;
	}
	
	// String representation of a Card.
	public String toString() {
		return firstName+" "+lastName+" member since "+startYear+" now year is "+curYear;
	}
}