Java Conditionals and Control Flow 11.generalizations


Print the message in the else block.

Replace this line with your code. 

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

		}else {

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

		}<img src="//" width="690" height="344">



boolean tricky should be false

boolean tricky=false;

don't print the value of the variable tricky remove that


thanks allot man i was struggling with this


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