Hi....

Please consider the following lines.

char index = 'a';
System.out.println(index);

This will printout letter ‘a’. I want to display all the letters (i.e. from ‘a’ to ‘z’), can someone explain how to do this using any iteration. Only condition is variable index should be character type.