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