question: static public String listToString ( List < String > list ) { StringBuilder builder = new StringBuilder ( ) ; int itemCount = 0 ; for ( String value : list ) { itemCount ++ ; if ( itemCount > 1 ) { builder . append ( "," ) ; } builder . append ( value ) ; } return builder . toString ( ) ; }
target:  Generate a comma-delimited string of list items.