How do you change to lowercase in Java?

To convert a string to lowercase in Java, call toLowerCase() method on the string object . The method returns a new String object with the characters in the original string transformed to lowercase letters.

Sizin İçin Seçtik  What are different types of string methods?

Leave a Reply

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