Check out example codes for "tolowercase java". It will help you in understanding the concepts better.

Code Example 1

String txt = "111 World";
System.out.println(txt.toUpperCase());
System.out.println(txt.toLowerCase());

Code Example 2

String txt = "123 World";
System.out.println(txt.toUpperCase());
System.out.println(txt.toLowerCase());

Code Example 3

String s1 = "JAVATPOINT HELLO stRIng";  
String s1lower = s1.toLowerCase(); // s1lower = "javatpoint hello string"

Learn ReactJs, React Native from akashmittal.com