CustomerTest - huey.birthday(); anna.birthday();...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
public class CustomerTest { public static void main(String[] args) { Customer alex = new Customer("Alex", 17); Customer jeff = new Customer("Jeff", 19); Customer rhea = new Customer("Rhea", 21); System.out.println(alex + "\n" + jeff + "\n" + rhea); Customer.setDelta(5); Customer huey = new Customer("Huey", 34); Customer stuey = new Customer("Stuey", 40); Customer anna = new Customer("Anna", 27); huey.birthday();
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: huey.birthday(); anna.birthday(); jeff.birthday(); jeff.makeReservation(200); rhea.makeReservation(6000); alex.makeReservation(1500); jeff.makeReservation(570); System.out.println(jeff + " " + jeff.getPoints()); System.out.println(huey); System.out.println(rhea + " " + rhea.getPoints()); stuey.blackList(); System.out.println(stuey.okToFly() + " " + huey.okToFly()); } }...
View Full Document

This note was uploaded on 04/03/2010 for the course COMPSCI 600.107 taught by Professor Houlahan during the Spring '08 term at Johns Hopkins.

Ask a homework question - tutors are online