Question 66 : Write a program in Java to all the keyboard characters using ASCII codes.
Java Program :
class all_ascii
{
static void print()
{
for(int i=0;i<256;i++)
System.out.print((char)i+" - "+i+"\n");
}
}
Java Program :
class all_ascii
{
static void print()
{
for(int i=0;i<256;i++)
System.out.print((char)i+" - "+i+"\n");
}
}
No comments:
Post a Comment