//Conversion from ASCII to Character and vice versa
public class ascii
{
public static void main (String args[])
{
int y;
char ch1=75;
System.out.println("The character with ASCII 75 is "+ch1);
char ch2='x';
y=ch2;
System.out.println("The ASCII code of "+ ch2 +" is "+ y);
}
}
No comments:
Post a Comment
Note: only a member of this blog may post a comment.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.