Scala Long !=(x: Char) method with example
In Scala, Long is a 64-bit signed integer, which is equivalent to Java’s long primitive type. The !=(x: Char) method is utilized to check whether the given Long and Char value are equal to each other or not.
Method Definition – def !=(x: Char): Boolean
Returns – Returns true if this value is not equal to x, false otherwise.