0 votes
in JAVA by

How can we make String upper case or lower case?

1 Answer

0 votes
by

We can use String class toUpperCase and toLowerCase methods to get the String in all upper case or lower case. These methods have a variant that accepts Locale argument and use that locale rules to convert String to upper or lower case.

Related questions

+2 votes
asked Jan 24, 2020 in JAVA by rahuljain1
0 votes
asked Oct 17, 2020 in JAVA by rahuljain1
...