Programming Tips - Java: How to append to a Java array
Date: 2011apr8
Language: Java
Level: novice
Q. Java: How to append to a Java array
A. You can't append to regular Java array.
Once its size is set it cannot change.
You can declare a lager array and copy to it (and then set what you want).
Or use ArrayList<> which can grow.