In this section, you will learn to convert a character (uppercase) into a lowercase character. The java.lang package provides the functionality to convert the uppercase character into a lowercase character.
The following program helps you in converting a uppercase character (R) into a lowercase character (r). Program takes a character (uppercase) at the console and it converts it into a lowercase character using the toLowerCase() method. This method converts the uppercase character into the lowercase character and returns converted lowercase character.
Here is the code of this program:
Output of this program.
Enter the uppercase character:
Lowercase character: r
Posted on: June 15, 2007 If you enjoyed this post then why not add us on Google+? Add us to your Circles