Tutorials

Java String Methods


String toLower() method


In java toLowerCase( ) is used to convert the uppercase letters of the given String to lowercase letters.

 

Example:


public class toLowerDemo {

      public static void main(String[] args) {

            String str = "Mukesh Ti";           
            System.out.println(str.toLowerCase());
      }
}

OUTPUT:

mukesh ti



Please Share this page
Views : 83
Like every other website we use cookies. By using our site you acknowledge that you have read and understand our Cookie Policy, Privacy Policy, and our Terms of Service. Learn more Got it!