+ 2

What is sign which shows 'not equal to' in java...

java

24th Jul 2017, 3:21 PM
Adhiraj Dhar
Adhiraj Dhar - avatar
3 Respuestas
+ 2
!=
24th Jul 2017, 3:23 PM
Bogdan Sass
Bogdan Sass - avatar
+ 1
thanks bro
24th Jul 2017, 3:24 PM
Adhiraj Dhar
Adhiraj Dhar - avatar
+ 1
Or you could negate equals, for comparing Strings and so on: String x = "Hi"; String y = "hi"; !x.equals (y)
24th Jul 2017, 3:33 PM
Jonas Schröter
Jonas Schröter - avatar