You cannot resize an array in java. Once the size of array is declare . An array is a container object that holds a fixed number of values .
The size of an array can't be modified. If you want a bigger array you have to. This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily . I need to concatenate two String arrays in Java.
I'd add this to the beginning, just to be defensive. Element(String.class, origArray, new element) – marmor Oct . Well you've tried setting an element of a string array to be another string . How can I add an additional value to a array, getting the data from a string?
Keine Kommentare:
Kommentar veröffentlichen
Hinweis: Nur ein Mitglied dieses Blogs kann Kommentare posten.