question: public String nextString ( int length ) { char [ ] chars = new char [ length ] ; for ( int i = 0 ; i < chars . length ; i ++ ) { chars [ i ] = ALPHABET . charAt ( nextInt ( ALPHABET . length ( ) ) ) ; } return new String ( chars ) ; }
target:  Returns a random String of the given length. 