Library - //{ // cust[i] = customers[i]; //} //cust[i] =...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
public class Library { private Customer[] customers; private Book[] books; private int numBooks; private int capactiy; private Date checkOutDate; private int numOfCheckOut; public Library() { } public Library (Customer[] custs) { } public int getCapacity() { return capacity; } public void setCapacity() { this.capacity = capacity; } public void addCustomer( Customer customer) { //int i; //int[] cust = new int[customers.length+1]; //for (i = 0; i<customers.length; i++)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: //{ // cust[i] = customers[i]; //} //cust[i] = customer; customers[numOfCust] = customer; numOfCust++; } public void removeCustomer (Customer customers) { } public void addBooks( Book books) { } public void removeBook( Book books) { } public void getCheckOutDate() { } public int findCustomer() { } public void SortBooksByType( String a) { } }...
View Full Document

Page1 / 2

Library - //{ // cust[i] = customers[i]; //} //cust[i] =...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online