Kendhall Lebron RuizPro Student 1,143 Points
Assuming that Sara has taken the Java and Python tracks, what is the value of isFamiliar below:
boolean isFamiliar = ( learnedJava || learnedPython || learnedRuby) ;
Why is the answer true instead of false? Because she is familiar with Java AND Python.
[MOD: edited code block - srh]
Steve HunterTreehouse Moderator 57,564 Points
For an OR condition, you just need one true condition within the comparators to make the entire result true. An AND comparator would require all conditions to be true.
true || true == true false || true == true true || false == true false || false == false