You can either call getTIME() (for example), and then do whatever needs doing with the array it returns, or add a method that addToTIME(
String) that adds that string as the last element of the TIME array.
Two remarks, though: variables have lowercase names. While uppercase is permissible, it is so exceedingly rare that people who look at your code will wonder what's going on. Uppercase is generally used for names of constants.
Secondly, if you don't know beforehand how many elements an array has, it's probably better to use a
Collection instead of an array - maybe an
ArrayList<String>. That makes it easy to add elements at the end, and to find out how many elements it already contains.