Java Convert String to LowerCase
Submissions: 2639   Accuracy:


  Difficulty: School   Marks: 0
*School Problem's Submission isn't counted in score!

Given a string S. The task is to convert characters of string to lowercase.

Note: toLowerCase() method converts all characters of the string into lowercase letter.

Input : 
The first line of input contains a single integer T, denoting the number of test cases. For each testcase there will be only one line containing string S which consists of uppercase or lowercase english alphabets.

Output : 
For each testcase in new line, print the string in lowercase.

Constraints : 
1 <= T <= 100
1 <= |S| <= 103

Example : 
Input : 


Output : 

** For More Input/Output Examples Use 'Expected Output' option **

Contributor: S_A
Author: saksham0751

If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.

Need help with your code? Please use, generate link and share the link here.

to report an issue on this page.