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 Basics Perfecting the Prototype Censoring Words - Using Logical ORs

Gregory Jay
Gregory Jay
903 Points

Correct answer for Bob's Three Kids

When you answer the question correctly the following message is the response:

"Well done! Good job, this one is tricky. Bob is older than 50 so it doesn't matter what the rest of the options are."

Bob is not older than 50. He is 50. The response should be "...Bob is older than 30..."

2 Answers

Craig Dennis
STAFF
Craig Dennis
Treehouse Teacher

Got it thanks for the response! Will fix now! See we all make errors ;)

Hi Gregory Joshua,

can you tell us please what exact problem you have? Where are you stuck? With what exactly do you need help?

Gregory Jay
Gregory Jay
903 Points

I am just making you aware of a typo. This may confuse some newcomers to Java since the explanation does not match the conditions of the if-statement. Bob's age is 50 so he is not older than 50. Furthermore, the conditional is based on him being older than 30.