question: private String formatNames ( String [ ] names , int startIndex ) { StringBuilder sb = new StringBuilder ( ) ; if ( names != null ) { for ( String name : names ) { sb . append ( name . substring ( startIndex ) ) ; sb . append ( '\n' ) ; } } return sb . toString ( ) ; }
target:  Converts an array of strings to a String delimited by a new line character for display purposes