appendItem to an Array Function?

Thanks! I just did this:

String password = "12345";
String guess = "";

And then I concatenate

guess += (number pressed);