What if...
Use Jeroo to answer the following questions:
Run a program to make each of these things happen one at a time
Give the exact message if there is an error, or write no error if nothing goes wrong
- What if a Jeroo tries to pick a flower and there is no flower?
- Can a Jeroo hop backwards? thisjeroo.hop(-1)?
- What if you create a new Jeroo in a space that has water or a net in it?
- What if you create a new Jeroo in a space that has a flower in it?
- What if a Jeroo hops onto a space where another Jeroo is standing?
- What if you misspell the word main in method main()?
- What if you leave off the last ending brace } in your program?