Class | Description |
---|---|
AmplifierTest | |
AnimalGuess |
The
AnimalGuess Java application illustrates the use of
the binary tree node class is a small animal-guessing game. |
AssertExamples |
The AssertExamples Java application demonstrates the Java
assert statement.
|
Author | |
BagApplet | |
BagDemonstration | |
BasicCalc | |
BearGame |
The
BearGame Java application illustrates the use of
the bears method that uses recursion to determine whether it is
possible to win a silly game. |
BinarySearcher |
The
BinarySearcher Java application runs a small test on the
search method from Chapter 11 (using a binary search to
find a specified number in an array). |
Blob | |
CarWash |
The
CarWash Java application illustrates the use of
the carWashSimulate method. |
Combine | |
Counters |
The Counters Java application tests several methods to count the number
of occurrences of a target in an array.
|
EvaluateDemonstration | |
Fractal | |
Heapsort |
The
Heapsort Java application illustrates a heapsort. |
Insert |
The
Insert Java application illustrates an insertion sort. |
IsBalancedDemonstration | |
LocationDemonstration | |
Maze |
The
Maze Java application illustrates the use of
the traverseMaze method that uses recursion to guide a user
into a maze and back out again. |
Mergesort |
The
Mergesort Java application illustrates a merge sort. |
Palindrome |
The
Palindrome Java application illustrates the use of a stack
and a queue in the same program to determine whether a line is a
palindrome. |
PlayConnect4 | |
PondLife |
The
PondLife Java application runs a simple simulation that
models the fish and weeds in a pond. |
PowerDemo |
The
PowerDemo Java application illustrates the use of
the power and pow methods, which use recursion to
calculate the value of a number raised to an integer power. |
Quicksort |
The
Quicksort Java application illustrates a quicksort. |
Select |
The
Select Java application illustrates a selection sort. |
SimpleSearcher |
The
SimpleSearcher Java application runs a small test on the
search method that searches for a specified number in an array. |
TemperatureConversion |
The TemperatureConversion Java application prints a table
converting Celsius to Fahrenheit degrees.
|
ThrottleDemonstration | |
Traffic | |
TreeExample | |
VirtualTest | |
Voyage | |
WordCounter | |
WordTags | |
WriteVertical |
The
WriteVertical Java application illustrates recursive
methods that write the digits of a number vertically. |
ZeroDivision |