The process returns the lowercase type of the individual char object. The java string toLowerCase() process returns the series in the lowercase letters. In other words, it alters all characters of the string into lower case letters. The toLowerCase() method works same as toLowerCase(Locale. getDefault()) method.
boolean tolowercase(char ch)
Here is the detail of parameters −
public class Test { public static void main(String args[]) { System.out.println(Character.toLowerCase('c')); System.out.println(Character.toLowerCase('C')); } }
This will produce the following result:
c c
Here at Intellinuts, we have created a complete Java tutorial for Beginners to get started in Java.