L3.2: Logical Expressions: Comparison operators - Not Equal to

PHOTO EMBED

Fri Sep 29 2023 13:47:21 GMT+0000 (Coordinated Universal Time)

Saved by @TestProSupport

public class Main {

    public static void main(String[] args) {
        int a = 5;
        int b = 7;
        boolean notEqual = a != b;
        System.out.println("a != b is " + notEqual); 
    }
}
content_copyCOPY