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 in it?
- What if you create a new Jeroo in a space that has 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 give your Jeroo a name that has a blank space in it?
Jeroo sports fan = new Jeroo();
- What if you misspell the word main in method maain( )?
- What if you leave off the last ending brace } in your program?
Copy the questions, type the complete error messages in Word
Save as ErrorsYourName on your drive