Thread
:
Multi-dimensional arrays in Java
View Single Post
majidpucit123
Newbie Member
9Sep2008,12:24
i'm trying to create a method that adds an element in an existing string array. Kind of like the arraylist "add()" method.
so far, i have this
String[] addToArray(String[] strArray1, String s)
{
return strArray1+s;
}
but this doesnt work...
why?