Home | Ajax | BioInformatics | Dojo | EAI | EJB | Hibernate | J2ME | Java | Java Glossary | Java Servlets | JavaScript | Jboss | JDBC | JDO | Jmeter | JSF | JSP | JUnit | Maven | MySQL | Spring Framework | SQL | Struts | Technology | WAP | Web Services | XML


 
  
 
Programming Tutorials: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML
 

 
Facing Programming Problem?
Ask Questions?, Browse Latest Questions, Question-Answer Guidelines
Java
  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification
  Java Applet
Questions
Comments

Alphabet Character Case-Converter

                         

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. 

Code Description:

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:

import java.io.*;
import java.lang.*;

  public class CharToLowercase{
    public static void main(String args[]) throws IOException{
      BufferedReader buff = new BufferedReader(new InputStreamReader(System.in));
      System.out.println("Enter the uppercase character:");
      String s = buff.readLine();
      char c = s.charAt(0);
      char lower = Character.toLowerCase(c);
      System.out.println("Lowercase character: " + lower);
    }
  }

Download this program:

Output of this program.

C:\corejava>java CharToLowercase
Enter the uppercase character:
R
Lowercase character: r
C:\corejava>

                         

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Latest Searches:
?бâ?????бâ????
logic iterate
count the number of di
JSF Data tree
builb.xml
draw existing image
string variable
DatabaseOracleOracleSQ
Reports
JFrame.extendedState
file input output
displaytag
jsp login by insertin
java jtable
???аÐ??????аÐ?????а
tag libraries
Photoshop Textures and
string methods of java
generic
clear the console in j
java memory deallocati
value change listener
what is cckies
iterator
form to servelet to be
struts with eclipse
log4j
ActionSupport.java
convert string to asci
iBatis Stored Procedur
how to pass same varia
FileInputStream
Introduction
black list software co
Javascript Date and Ti
login page in jsp
Linux Caixa MÑ?оâ???Ñ
struts layout
pdf
jsf tab
Drools
Photoshop Mainland Bir
struts 1 date picker e
å??ï¼¢ç?©æ¶ªå????å??ï¼
how to install and co
read a file
sybase create command
how to run ruby applic
Socket tcp
jQuery To Hide the Div
f:view tag
realine()
'string variable in sw
how to use logic itera
heap
Linux Caixa M?ย ???
sample palindrome prog
mouse click count
Combattons la programm
Ñ?о?Ñ?о??Ñ?о??Ñ?о?
tokens
Struts1.1
what is method to find
how to make TATTO
api struts
ASP Ad Management Crea
Servlet Example To Dis
java.sql.SQLException:
Sample program fetch d
convert integer in str
count
date format
<jsp:usebean> tag in j
Photoshop Effects Hole
Photoshop Text Effects
login window
button setName
Inserting data from gu
xml marshling
count sort
Java String toLowerCase Example
Java String toCharArray Example
Java String substring Example
Java String indexOf Example
Java String startsWith Example
Java String hashCode Example
Java String matches Example
Java String length Example
Java String lastIndexOf Example
Java String isEmpty Example
Java String equalsIgnoreCase Example
Java String equals Example
Java String endsWith Example
Java String copyValueOf Example
Java String contentEquals Example
  EAI Articles
  Java Certification
Tell A Friend
Your Friend Name
Search Tutorials

 

 
 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Indian Software Development Company | iPhone Development Company in India | Java Training Delhi | Java Training at Noida |

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2008. All rights reserved.