Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Java Objects (Retired) Delivering the MVP Arrays and Command Line Arguments

Yeeka Yau
Yeeka Yau
7,410 Points

Answer to the previous quiz?

Hi, just a quick one regarding the answer to the previous quiz. It was simply a fill in the blanks of the while loop for a carnival dunk tank.

There were 3 blank spaces, with:

while(remainingTries _ 0 _ _ throwBall(); }

I simply put:

while(remainingTries > 0 ) { throwBall(); }

The system says that is incorrect. Not sure what is wrong with that?

Thanks.

Your window may have been too small, try to scroll to the right to find the rest of the code, that will give you a much more accurate picture of what's needed

Yeeka Yau
Yeeka Yau
7,410 Points

Ahh, haha you're right. Thanks so much.

Thomas Williams
Thomas Williams
9,447 Points

It threw me too, i couldn't see the opening '{' , In the end I decided it was a mistake so entered the correct answers anyway and hey presto i passed. Would have been a lot simpler if i could have seen the whole line, not sure why the spaces/blanks need to be so large!

Akilah Jones
Akilah Jones
18,397 Points

Hmmm, seems like an area for improvement on treehouse's side...

4 Answers

Yeeka Yau
Yeeka Yau
7,410 Points

Just needed to expand the size of the browser. Solved.

Its suppose to be only special chars (&&!!==<>) each one of the blanks take only one special char.

I think there needs to be a little more context with this question...