public static void swap ( char ch [ ] [ ] , int i , int j , int l , int m ) {
  char temp = ch [ i ] [ j ] ;
  ch [ i ] [ j ] = ch [ l ] [ m ] ;
  ch [ l ] [ m ] = temp ;
}

public static void swap ( char ch [ ] [ ] , int i , int j , int l , int m ) { char temp = ch [ i ] [ j ] ; ch [ i ] [ j ] = ch [ l ] [ m ] ; ch [ l ] [ m ] = temp ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier) dimensions: (dimensions)) (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier))) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (array_access array: (array_access array: (identifier) index: (identifier)) index: (identifier)))) (expression_statement (assignment_expression left: (array_access array: (array_access array: (identifier) index: (identifier)) index: (identifier)) right: (array_access array: (array_access array: (identifier) index: (identifier)) index: (identifier)))) (expression_statement (assignment_expression left: (array_access array: (array_access array: (identifier) index: (identifier)) index: (identifier)) right: (identifier)))))