private static int replaceCount ( char [ ] orig , char [ ] chars ) {
  int count = 0 ;
  for ( int i = 0 ;
  i < orig . length ;
  i ++ ) {
    if ( orig [ i ] != chars [ i ] ) {
      count ++ ;
    }
  }
  return count ;
}

private static int replaceCount ( char [ ] orig , char [ ] chars ) { int count = 0 ; for ( int i = 0 ; i < orig . length ; i ++ ) { if ( orig [ i ] != chars [ i ] ) { count ++ ; } } return count ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (integral_type) dimensions: (dimensions)) name: (identifier)) (formal_parameter type: (array_type element: (integral_type) dimensions: (dimensions)) name: (identifier))) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (identifier) right: (field_access object: (identifier) field: (identifier))) update: (update_expression (identifier)) body: (block (if_statement condition: (parenthesized_expression (binary_expression left: (array_access array: (identifier) index: (identifier)) right: (array_access array: (identifier) index: (identifier)))) consequence: (block (expression_statement (update_expression (identifier))))))) (return_statement (identifier))))