[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/CSapprenticeWT/OnJava8-Examples/master/control/TrueFalse.java [Back]  [Original]

// control/TrueFalse.java
// (c)2021 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.

public class TrueFalse {
  public static void main(String[] args) {
    System.out.println(1 == 1);
    System.out.println(1 == 2);
  }
}
/* Output:
true
false
*/

Web Proxy Viewer  |  New URL  |  Original Page