System.out.printf(’%c’, char ch )







/**

 Output:



 char value is a

 

 * */



public class MainClass {

  public static void main(String args[]) throws Exception {



    //char value is a

    System.out.printf("char value is %c\n"‘a’ );



  }

}



           

       

Tags: , , , , , ,

Leave a Reply