Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What does the AND operator evaluate?
Think about the operator symbol.
What will (5 > 3) || (2 < 1) evaluate to?
Look for at least one true condition.
What does the Logical AND operator do?
Remember what both conditions must satisfy.
True or False: !(true) equals false.
Consider the definition of NOT operator.
Create a Java boolean expression that checks if temperature is within a comfortable range (between 60 and 75) and if humidity is below 50%.
Remember to include both lower and upper bounds.
Design a Java condition that determines if isWeekend is true and if isRainy is false to decide if an outdoor event can take place.
Think about how NOT changes the evaluation.
5 more questions in this section. Enroll free to practise them all.
Enroll free