There are three segments of code, each corresponding to one of the questions. The first is a visual problem to manually solve. What value should be assigned to tricky?
// ( 3 >= 3 && !(true || true) )
boolean tricky =
Treat the other two questions separately and perform the required tasks on their respective code segment.
The problems are very simple and most of the code is already written. There is no tricky variable beyond the first question.
The second question wants us to print out, Upgraded to the future!. That means the boolean expression needs to result in false. ____ > ____ or ____ < ____?
The third question just asks us to set the int variable subwayTrain so that it matches the case that prints, This is a Brooklyn bound train!. That’s not a big problem, is it?