|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object collections.Gerbil
public class Gerbil
Part of Exercise 11.2 in the book
Constructor Summary | |
---|---|
Gerbil(int no)
Constructor for objects of class Gerbil |
Method Summary | |
---|---|
void |
jump()
Method that tells which number jumps |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Gerbil(int no)
no
- the gerbil numberMethod Detail |
---|
public void jump()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |