Understanding Java Chapters 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21
Understanding Java: Chapter 15
These pages contain links to the programs that are developed in Chapter 15. The title of this chapter is: Using an array to represent a collection of values.
VendingMachine.java | A class that uses simple variables for the frequency counts |
VendingMachineProg.java | A program that processes the transactions of a vending machine |
VendingMachine.java | A class that uses an ArrayList for the frequency counts |
VendingMachineProg.java | The new client determines the size of the vending machine |
VendingMachine.java | A class that uses an array for the frequency counts |
VendingMachineProg.java | A program that processes the transactions of a vending machine |
VendingMachine.java | A class providing additional operations on the frequency counts |
VendingMachineProg.java | A program that uses the new methods |
SeatsProg.java | Using an object of the Seats class |
Seats.java | This class uses an array to implement a collection of seats |
MyArrayList.java | Using an array to implement the List interface |
MyArrayListIterator.java | A class implementing the Iterator interface for MyArrayList |
barry.cornelius@oucs.ox.ac.uk
.