Privacy Policy Terms Of Use. Copyright © 2006-2010 Java Tutorials and Examples.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
- /*
- * Convert upper case char to lower case char example.
- */
- public class UpperCharToLowerChar {
- public static void main(String args[]){
- char upperCaseCh = 'A';
- /*
- * to convert upper case char to lower case use static toLowerCase method
- * of Character class.
- */
- char lowerCaseCh = Character.toLowerCase(upperCaseCh);
- System.out.println("Upper case char converted to lower case char: " + lowerCaseCh);
- }
- }

Attractive portion of
Post new comment