|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Aquarium
Aquarium Lab Series: The Aquarium class defines an Aquarium and its properties.
Constructor Summary | |
Aquarium(int width,
int height)
Construct an Aquarium with user-specified size. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Aquarium(int width, int height)
width
- width of the aquarium when displayed (in pixels)height
- height of the aquarium when displayed (in pixels)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |