Suppose I have made the following code segment:

Jeroo dave = new Jeroo();
// Jeroos start with no flowers.

if (dave.hasFlower())
{
    dave.toss();
}
else
{
    dave.turn(RIGHT);
}
dave.hop();

Which of the following lines will NOT be executed (if any)?

dave.toss();
  • All of these will be executed.
  • Jeroo dave = new Jeroo();
  • dave.turn(RIGHT);
  • dave.hop();

There are not hints for this question