question: static public String [ ] toArray ( ArrayList value ) { String [ ] strArray = new String [ value . size ( ) ] ; for ( int i = 0 ; i < value . size ( ) ; i ++ ) { strArray [ i ] = ( String ) value . get ( i ) ; } return strArray ; }
target:  Converts the given ArrayList into an array of Strings.