I always knew that characters could be represented as numbers. So when my little brother wanted to learn his alphabets I thought of writing up a program just to get all of them neatly printed. I started with this … but something went wrong. Can you help me out?
package com.twister;
public class TestOperator{
public static void main(String args[]) {
char x='a';
x=x+1;
System.out.println("Value of x is " + x);
}
}
Got an answer? Why don’t you leave it here.