View Single Post
Newbie Member
9Sep2008,12:24  
majidpucit123's Avatar
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?