I have an array:
String[] ay = {
"blah",
"blah number 2"
"etc" };
… But now I want to add to this array at a later time, but I see no option to do so. How can this be done? I keep getting a message saying that the String cannot be converted to String[].
Thank you
Arrays can’t change their size after they are declared. Use collections instead. For example:
List.