I am trying to build up the alphabet character by character. Like:
a
ab
abc
abcd
Well as of now I can only print out the alphabet with my loop like abcdefg...z. Can anyone help me out?
So here is the code I am trying to use:
public void loop4() { char alph = 'a'; while(alph <= 'z') { System.out.println(alph); alph++; } }