• Source
    1. import static java.lang.System.*;
    2. class Ideone
    3. {
    4. public static void main (String[] args) throws java.lang.Exception
    5. {
    6. for(int i=0;i<625;out.format(i%25>23?"%c\n":"%c",i++%26<1?i/26+66:65));
    7. }
    8. }