Code file |
Project |
Description |
ConvertTemperature.java |
None |
Program to convert a temperature in Fahrenheit to one in Celsius. |
Temperature.java |
Temperature |
Class definition for a temperature object |
TestTemperature.java |
Temperature |
Program to test temperature objects |
VendingMachine.java |
Vending Machine |
Class definition for a simple vending machine object |
TestVM.java |
Vending Machine |
Class definition for a program to test vending machine objects |
VendingMachine.java |
Interactive Vending Machine |
Class definition for an interactive vending machine object |
TestVM.java |
Interactive Vending Machine |
Class definition for a program to test interactive vending machine objects |
BankAccount.java |
Bank Account |
Class definition for a simple bank account |
TestBankAccount.java |
Bank Account |
Tests Bank Account objects |
Name.java |
Person Data |
Class definition for a person's name |
Address.java |
Person Data |
Class definition for a person's address |
BankAccount.java |
Bank Account 2 |
Class definition for a more realistic bank account |
TestBankAccount.java |
Bank Account 2 |
Tests the more realistic bank account objects |
Primality.java |
Primality testing |
Program to test whether an integer is prime |
ColorChips.java |
Simple applets |
Applet displaying a grid of colors |
MoreColor.java |
Simple applets |
Applet displaying colored shapes |
Text.java |
Simple applets |
Applet demonstrating use of text features |
Promoter.java |
Event listener |
|
Scalper.java |
Event listener |
|
Student.java |
Event listener |
|
TicketEvent.java |
Event listener |
|
TicketListener.java |
Event listener |
|
TicketTest.java |
Event listener |
|
Applets.zip |
Chapter 7 |
Applets from chapter 7 of the textbook |
AddIntegersFromFile.java |
Chapter 11 |
Application demonstrating file I/O and exception handling |
TryStack.java |
Chapter 13 |
Application demonstrating the heterogeneous nature of built-in data
structure implementations |
Vehicle.java |
Vehicle |
Class definition for a simple vehicle object |
Car.java |
Vehicle |
Class definition extending Vehicle for a car object |
Truck.java |
Vehicle |
Class definition extending Vehicle for a truck object |
TestVehicle.java |
Vehicle |
Program to test vehicle objects |
vehicleData.txt |
Vehicle |
Data for the above program |
WriteVehicles.java |
Vehicle |
Program to read in vehicle data in text format and write it out to a file
as a stream of objects. |
Matrix.zip |
Matrix |
Programs and classes to implement a hierarchy of matrix classes (as
discussed in class). |
TestExecutionOrder.java |
TestExecutionOrder |
Class to test the order in which various blocks of code are
executed. |
TestEO.java |
TestExecutionOrder |
Program to exercise the TestExecutionOrder class. |