About Me

Age:25 --- B.E.(Computer Science), Android/Java Developer, CCNA, CCNA SECURITY (IINS), CCNP (R&S), 4011 Recognized(NSA & CNSS)U.S.A. , MCSA, MCTS, REDHAT CERTIFIED NETWORK SECURITY ADMINISTRATOR(RH253), AFCEH.

Tuesday, September 24, 2013

Convert character to String:

       


public class ConvertCharToString {

 public String doTheConversion(char c) {

  String str = Character.toString(c);

  return str;

 }

 public static void main(String[] args) {

  String s = new ConvertCharToString().doTheConversion('n');

  System.out.println(s);

 }

}

    
            
       
 

No comments:

Post a Comment