Customer - Creates a customer with ID = number-public Customer(int number id = number public String toString return"Customer" id}

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

View Full Document Right Arrow Icon
//******************************************************************* // Customer.java Author: Lewis/Loftus // // // // Encapsulates a customer //******************************************************************* public class Customer { int id; //----------------------------------------------------------------
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: // Creates a customer with ID = number //----------------------------------------------------------------public Customer(int number) { id = number; } public String toString() { return "Customer " + id; } }...
View Full Document

This note was uploaded on 05/17/2011 for the course COP 3530 taught by Professor Davis during the Spring '08 term at University of Florida.

Ask a homework question - tutors are online