Wyo Java Ch7Proj5

Extend Ch7Proj4 with the additional specifications. Make a copy of your Fish class and name it SlowFish. Modify SlowFish so that a SlowFish only moves one fifth of the time. In this project, instantiate your first fish as a SlowFish. The other one should remain a normal Fish. For testing purposes and to create your ouput screen, disable (i.e. comment out) the dying behavior of all fish.

Do not seed your Random objects in this project. Be sure to display your name & the name of the assignment as the first line of your output.

Here is a sample output screen with the dying behavior commented out:

 

Your program must follow the class Coding Standards. Save all of the files associated with this assignment to a folder named Ch7Proj5 in the appropriate network folder.

Preconditions:

    • None

You must hand in the following on separate pages stapled in this specified order:

    1. The source code for the Ch7Proj5 class.
    2. The SlowFish class.
    3. The Fish class.
    4. The printscreen of your console window output.