Question: Greenfoot Practice -java based 1.Use the code so that the Pelicans can eat the Crabs, Lobsters, or worms, put this code in a method called

Greenfoot Practice -java based

1.Use the code so that the Pelicans can eat the Crabs, Lobsters, or worms, put this code in a method called eat. (you may need to check if you are touching a crab, lobster, or worm first)

2.Add the code so that the first thing a Pelican will do is attempt to eat

3)1.Use a method named mover that has an integer parameter named distance, and no return type. This method causes the crab to move the value of the distance parameter.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!