4/11 Correct code isn't being accepted


#1



https://www.codecademy.com/en/courses/learn-java/lessons/conditionals-control-flow/exercises/boolean-operators-not


When I run my code for answer 2, it returns value:
true
false
,but it says my answer is incorrect.
The message "Did you use the ! operator?" also pops up below my code. I can't figure out what's wrong.


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

		System.out.println(!false);
		System.out.println( !(5 >= 1) );
  }
}


#2

I've come across the same thing and come here. But it returns to normal after I reloaded the webpage.


#3

Seems like a temporary bug. Please reload the page and try again or reset code and re-do the exercise.

Happy coding!


#4

I'm having the same issue and reloading or redoing the exercise did not help. I am unable to click Next to move on from this question.


#5

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