Holodeck Design Project
From Huben's Wiki
Line 1: | Line 1: | ||
It is a little known fact that the Holodeck is programmed in Java. You need to develop a new holodeck simulation that has 5 different classes with particular methods. | It is a little known fact that the Holodeck is programmed in Java. You need to develop a new holodeck simulation that has 5 different classes with particular methods. | ||
− | {| border="1" align="center" | + | {| border="1" |
− | + | |- align="center" | |
! class | ! class | ||
! graze() | ! graze() | ||
Line 9: | Line 9: | ||
! hooves() | ! hooves() | ||
! flame() | ! flame() | ||
− | |- | + | |- align="center" |
− | ! Horse | + | ! Horse |
− | |- | + | | X || || || X || |
− | ! Elephant | + | |- align="center" |
− | |- | + | ! Elephant |
− | ! Pegasus | + | | X || || X || || |
− | |- | + | |- align="center" |
− | ! Dumbo | + | ! Pegasus |
− | |- | + | | X || X || || X || |
− | ! Dragon | + | |- align="center" |
+ | ! Dumbo | ||
+ | | X || X || X || || | ||
+ | |- align="center" | ||
+ | ! Dragon | ||
+ | | || X || || || X | ||
|} | |} | ||