Tuesday, February 18

Character presidency in java






Hi ALL,

Here I wrote a program for simple Character presidency in java.

 

/**
 *
 * @author Balamurgan M
 */

public class charpresidency {
    public static void main(String arg[]){
        char ch='\u0041';
        System.out.println(" character increment : " + ++ch);
         char ch1='\u0009';
        System.out.println(" character increment : " + ch1+"bala");
        int i='a';
        System.out.println("ascii value "+i);
        char ch2=97;
        System.out.println("char value "+ch2);
       
    }
   
}

No comments:

Post a Comment

Backup files to google drive using PHP coding

 Dear All, To backup files to Google Drive using PHP coding, you can use the Google Drive API and the Google Client Library for PHP. Here...