Answers for "methode compareto java"

C
3

how to compareTo in java

x.compareTo(y) <  0     // x <  y
x.compareTo(y) <= 0     // x <= y
x.compareTo(y) != 0     // x != y
x.compareTo(y) == 0     // x == y
x.compareTo(y) >  0     // x >  y
x.compareTo(y) >= 0     // x >= y
Posted by: Guest on November-30-2021

Code answers related to "C"

Browse Popular Code Answers by Language