I am trying to append an item to the empty list which I created in java by using
String[] list_of_days = {};
How can I append the items, e.g., numbers from 1 to 10, in this list, like I used to do in Python using append function.
list_of_numbers.append(variable)??`enter code here`