Alex Rivera | Logout

"Auto increment" alphabet in Java?

Asked 2010-01-12T06:51:01.160
43

"Auto increment" alphabet in Java - is this possible? From A to Z without a third-party library?

Edit
Report

1 Answer

9
for (char c = 'A'; c <= 'Z'; c++) {
  ...
}
answered 2010-01-12T06:55:01.760

Your Answer