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 Using Logical ORs and ANDs

Andres Morales
Andres Morales
10,634 Points

just true or false?

It seems to be asking for more than just true or false or am I missing something?

Any particular question you are referring to?

Ken Alger
Ken Alger
Treehouse Teacher

Andres;

I worked back through the quiz and all of the questions I had seemed to just be True or False and were based on if the code sample would pass through an and or an or logic test.

If there is a specific question you are having difficulty with, please post back and I'm sure someone can assist in a detailed explanation.

Ken

1 Answer

Aaron Lafleur
Aaron Lafleur
10,474 Points

No, you aren't missing anything. The question is asking whether the expression given is true or false; a boolean value. Booleans are usually only either true or false.

See: http://en.wikipedia.org/wiki/Boolean

good one