1String s1 = "JAVATPOINT HELLO stRIng";
2String s1lower = s1.toLowerCase(); // s1lower = "javatpoint hello string"
1// check lowercase or not in java..
2
3public class Test {
4
5 public static void main(String args[]) {
6 System.out.println(Character.isLowerCase('c')); //true
7 System.out.println(Character.isLowerCase('C')); //false
8 System.out.println(Character.isLowerCase('\n')); //false
9 System.out.println(Character.isLowerCase('\t')); //false
10 }
11}