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 Determining if it is Solved

Jiten Mistry
Jiten Mistry
4,698 Points

I am not sure where i am going wrong

the problem is

"Okay, so we have a code version of a carnival based Dunk Tank. As long as the there are tries remaining and the tank has not been dunked, throw the ball.

Please fill in the blanks with proper code for the while loop (you might need to scroll).

while (remainingTries --- 0 ---- ----- dunkTank.isDunked()) { throwBall(); }

"

The dashed lines show what we need to fill in, i put "!=, && and !" I'm not sure whatelse it could be.

3 Answers

Greater than is what you are after for the first answer, not !=.