For this question, refer to the following code. Assume you have a jeroo object named kim that does not have a flower ahead of it.

while (kim.seesFlower(AHEAD))
{
    kim.hop();
    kim.pick();
}

How many times would the following code run?

0
  • 1
  • 2
  • An error will occur

Remember there are no flowers ahead of the jeroo so kim.seesFlower(AHEAD) would be false.