How to increment/decrement alphabet automatically?
807606Feb 5 2007 — edited Feb 5 2007Hi all, I am new to java programming. I am trying to do a program where i had some char decleration like a.
char a;
Now if at all i say a++, it should be incremented to b i.e., the next letter should come. And after tht if i say a-, it should be back to a. I am not sure how to get this requirement done. Has it got anything that we need to do explicitly with ascii characters.
Thanks in advance...,