Today I'm going to teach you about Not equal to operator in Java, the following is the symbol of the Not Equal Operator
!= Not Equal
Let's see how to use this operator,
If you want to check whether X not equal to Y use as follows,
X != Y
Let's try this in Java code,
Following video show the program
Following video show the program