Cannot progress in Java - not sure what it's asking


#1



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


No error messages


Replace this line with your code. 
public class GeneralizationsB {
	public static void main(String[] args) {

	//3 >= 3 && !(true || true) ); 
boolean tricky = false;
    System.out.print(tricky);

	 if( ! ( 2015 < 2016)) {

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

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

		}


#2

I end up printing the else block.....but it says i havent..?


#3

System.out.print(tricky); //remove this line

you are not told to print that :slight_smile:


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.