Tuesday, April 10, 2018

Equality, Relational & Conditional Operators Part 3 ( Not Equal to !=)

Hi All,

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