String toLowerCase(Locale locale) method in java

Let’s learn String toLowerCase(Locale locale) method in java. String toLowerCase(Locale locale) method in java String toLowerCase() method returns the String, converted to lowercase. This is equivalent to calling toLowerCase(Locale.getDefault()). Syntax: public String toLowerCase() Now let’s see example on String toLowerCase() method. import java.util.*; public class StringToLowerCaseMethodExample { public static void main(String[] args) { String str…

Read More String toLowerCase(Locale locale) method in java