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
Brandyn lee murtagh
432 PointsJava Objects - Meet Objects quiz
Any one help me with the quiz section of this? I need assistance with-
What do we do to make sure both of these booleans are true: boolean shouldContinue = isRefreshed ________ isReadyToGetStarted;
3 Answers
Gloria Dwomoh
13,116 PointsSince I don't have the quiz link, I can't test if this is what it expects, but I assume it needs a double ampersand.
Stone Preston
42,016 Pointsthis question is worded a bit strangely. I got tripped up for a bit when I did it as well.
basically we want shouldContinue to be true if isRefreshed AND isReadyToGetStarted are true. we can test that using the logical and operator, &&.
What do we do to make sure both of these booleans are true: boolean shouldContinue = isRefreshed &&____ isReadyToGetStarted;
Craig Dennis is there a better way to word this question perhaps?
Craig Dennis
Treehouse TeacherI just reworded to this:
What symbol do we use to ensure both of these booleans variables are true
What do you think? Better?
Stone Preston
42,016 Pointsyeah that makes things a bit clearer. cool thanks
Tongai Mutengwa
1,923 Points&&