if not java

Solutions on MaxInterview for if not java by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "if not java"
Justine
02 Mar 2019
1boolean state = false;
2
3if (state != true) { //Boolean is false.
4  System.out.println("No");
5} else { //Boolean is true
6  System.out.println("Yes");
7}