Is compareTo case sensitive?

Java String compareToIgnoreCase() method compares two strings lexicographically ignoring case. This method is same as String. compareTo() method except compareTo() method is case sensitive .25 Oca 2022

Sizin İçin Seçtik  How do you write a compareTo method in Java?

Leave a Reply

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

Is compareTo case sensitive?

Java String compareToIgnoreCase() method compares two strings lexicographically ignoring case. This method is same as String. compareTo() method except compareTo() method is case sensitive .25 Oca 2022

Sizin İçin Seçtik  Is it worth buying crypto?

Leave a Reply

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