Stuck again. This time in "GeneralizationsB"


#1

Not sure if this is a bug or just me.

Here is the lesson : https://www.codecademy.com/en/courses/learn-java/lessons/conditionals-control-flow/exercises/generalizations-conditionals?action=resume

Error : GeneralizationsB.java:4: error: not a statement
( 3 >= 3 && !(true || true) );
^
1 error

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

It also ticks the instruction like it's correct and when I move on to the next instruction, I do it right but the error for the first instruction bars it and gives this small box below that says "Print the message in the "else" block."
Help!
Thanks In Advance!


#2

Hi you shouldn't remove the // before that statement so it should be like that

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

because it should be a comment


#3

Ohhh...
Thanks a ton!


#4

I keep getting the instructions 2 wrong here's my code:

public class GeneralizationsB {
public static void main(String[] args) {

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


if(tricky) {

		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...");

	}

}

}


#5

the if statement u changed it to "tricky"but there was a conditions over there