nl: asks the user to select a string . concode_field_sep String priceUpdate concode_elem_sep Connection conn concode_elem_sep Scanner in concode_elem_sep ArrayList<String> publishers concode_elem_sep String allQuery concode_elem_sep String publisherQuery concode_elem_sep String authorPublisherQuery concode_elem_sep String authorQuery concode_elem_sep ArrayList<String> authors concode_field_sep Connection getConnection concode_elem_sep void main concode_elem_sep void changePrices concode_elem_sep void executeQuery
code: String function ( String arg0 , List < String > arg1 ) { while ( true ) { System . out . println ( arg0 ) ; for ( int loc0 = 0 ; loc0 < arg1 . size ( ) ; loc0 ++ ) System . out . printf ( "srini_string" , loc0 + 1 , arg1 . get ( loc0 ) ) ; int loc1 = in . nextInt ( ) ; if ( loc1 > 0 && loc1 <= arg1 . size ( ) ) return arg1 . get ( loc1 - 1 ) ; } }