|
-
Sep 8th, 2006, 11:21 PM
#1
Thread Starter
PowerPoster
Character Variable Increment
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|