Kotlin - Operators and Expressions
Which of the following is the correct Kotlin syntax to check if variable
a is not equal to variable b?a is not equal to variable b?!= to check if two values are not equal.a != b is correct; a <> b is invalid in Kotlin; a =! b is incorrect syntax; a !== b checks referential inequality, not value inequality.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions