Generalizations


#1

Please help me. I don't understand what it wants to do.
public class GeneralizationsB {
public static void main(String[] args) {

boolean tricky = ( 3 >= 3 && !(true || true) );

System.out.println(tricky);

if(2015 < 2016) {

        System.out.println("Stuck in the past...");

    }else {

        System.out.println("Upgraded to the future!");

    }


int subwayTrain = 9;

    switch (subwayTrain){

        case 1 : System.out.println("This is a South Ferry bound train!");
                            break; 
        case 5 : System.out.println("This is a Brooklyn bound train!");
                            break;
        case 7 : System.out.println("This is a Queens bound train!");
                            break;
        default:
            System.out.println("I'm not sure where that train goes...");

    }

}

}


#2

@lorecodez,

You will have to change

int subwayTrain = 9;

into a value 1, 5 or 7 depending on what the instruction asks for....