Computer Applications
Describe the purpose and write the syntax of toLowerCase() function.
Java String Handling
14 Likes
Answer
It converts a string into lowercase characters. If any character is already in lowercase or is a special character then it will remain same.
Syntax:
String <variable-name> = <string-variable>.toLowerCase();
Answered By
8 Likes