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 lower case char to upper case char example.
- */
- public class LowerCharToUpperChar {
- public static void main(String args[]){
- char lowerCaseCh = 'd';
- /*
- * to convert lower case char to upper case use static toUpperCase method
- * of Character class.
- */
- char upperCaseCh = Character.toUpperCase(lowerCaseCh);
- System.out.println("Lower case char converted to upper case char: " + upperCaseCh);
- }
- }

I need a program to change
Post new comment