Examine the following code segment.

Jerro dave = new Jerro();
if (dave.hasFlower())
{
    dave.toss();
}
else
{
    dave.hop();
}

Which structure is this?

if-then-else
  • if-then
  • if-if-then
  • cascading if

There are not hints for this question