Java - General » Core Java » what exactly do String.compareTo() method
176 Views
0 Replies
what exactly do String.compareTo() method
Posted 30-06-2011Reply
the value 0 if the argument is a string lexicographically equal to this string; a value less than 0 if the argument is a string lexicographically greater than this string; and a value greater than 0 if the argument is a string lexicographically less than this string.
Since in Java Doc description is given like this. Just I want to know what exactly mean by lexicographically order.










