Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Java Java Objects (Retired) Delivering the MVP Determining if it is Solved

Typo notification.

Just a message to the treehouse staff: this exercise has a typo. It is still easy to know what it is asking, but just thought you might want to know. "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."

1 Answer

Uriah, sorry, but I'm missing it. I don't see any typos.
It says there are still some tries remaining, and the tank hasn't been dunked. Which you are supposed to turn into code:

while (remainingTries > 0 && !dunkTank.isDunked())

Where's the typo?

Sorry Jcorum, it is in the instructions for the exercise. The code is fine.