Latest Tutorials| Questions and Answers|Ask Questions?|Site Map




Have Programming Question? Ask it here!
 
 
 


Hina Saeed
againQ29.13
1 Answer(s)      6 years and 4 months ago
Posted in : Java Beginners


Hi, How to convert Char To Lower case? Thanks

Advertisement
View Answers

April 25, 2008 at 7:50 PM


Hi friend,


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);
}
}

--------------------------------------

read for more information

http://www.roseindia.net/java/java-conversion/


Related Tutorials/Questions & Answers:
againQ29.13 - Java Beginners
againQ29.13  Hi, How to convert Char To Lower case? Thanks   Hi friend,import java.io.*;import java.lang.*; public class CharToLowercase{ public static void main(String args[]) throws IOException
 

 

 

DMCA.com