|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object TestCreature
public class TestCreature
TestCreature is a tester/demonstration program to exercise the Thing class hierarchy. Students write this and submit it; try uses another tester.
Field Summary | |
---|---|
static int |
CREATURE_COUNT
number of creatures to create |
static int |
THING_COUNT
number of things to create |
Constructor Summary | |
---|---|
TestCreature()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
TestCreature.main tests the hierarchy of Things and Creatures. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int THING_COUNT
public static final int CREATURE_COUNT
Constructor Detail |
---|
public TestCreature()
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- -- unused
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |