What does the compareTo method do?

The compareTo() method compares two strings lexicographically . The comparison is based on the Unicode value of each character in the strings. The method returns 0 if the string is equal to the other string.

Sizin İçin Seçtik  Inci Coin ne kadar?

Leave a Reply

Your email address will not be published. Required fields are marked *

What does the compareTo method do?

The compareTo() method compares two strings lexicographically . The comparison is based on the Unicode value of each character in the strings. The method returns 0 if the string is equal to the other string.

Sizin İçin Seçtik  How do I check if a string is greater than another C#?

Leave a Reply

Your email address will not be published. Required fields are marked *