// -*- Mode: Java -*- // Cashiers.java --- a collection cashiers // Author : Marcel Turcotte // Created On : Sat Mar 3 08:00:40 2007 // Last Modified By: Marcel Turcotte // Last Modified On: Sat Mar 3 08:21:13 2007 // ITI 1121/1521. Introduction to Computer Science II public class Cashiers { // Constant(s) private static final String nl = System.getProperty( "line.separator" ); // Instance variable(s) private Cashier[] cashiers; // Constructor public Cashiers( int nb ) { if ( nb < 1 ) { throw new IllegalArgumentException( Integer.toString( nb ) ); } cashiers = new Cashier[ nb ]; for ( int i=0; i