Join
Blogs
Questions
Videos
Tags
Members
Search
 
 
Create your own blog, earn points and get popular!

Convert upper case char to lower case char example

  1. /*
  2.  * Convert upper case char to lower case char example.
  3.  */
  4.  
  5. public class UpperCharToLowerChar {
  6.  
  7.  public static void main(String args[]){
  8.  
  9.   char upperCaseCh = 'A';
  10.  
  11.   /*
  12.    * to convert upper case char to lower case use static toLowerCase method
  13.    * of Character class.
  14.    */
  15.  
  16.   char lowerCaseCh = Character.toLowerCase(upperCaseCh);
  17.  
  18.   System.out.println("Upper case char converted to lower case char: " + lowerCaseCh);
  19.  }
  20.  
  21. }
Your rating: None Average: 5 (1 vote)
Share this
Anonymous's picture

Attractive portion of

Attractive portion of content. I simply stumbled upon your weblog and in accession capital to say that I get in fact enjoyed account your blog posts. Any way I’ll be subscribing for your augment or even I achievement you access persistently fast. Digital Products Information - Kindle Fire - Sy Yuliani

Post new comment

1 + 7 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.