public static boolean check ( int [ ] d , int j , int k ) {
  boolean v = true ;
  if ( ( d [ j ] == 0 && d [ k ] == 1 ) || ( d [ j ] == 1 && d [ k ] == 0 ) ) {
    v = false ;
  }
  return v ;
}

public static boolean check ( int [ ] d , int j , int k ) { boolean v = true ; if ( ( d [ j ] == 0 && d [ k ] == 1 ) || ( d [ j ] == 1 && d [ k ] == 0 ) ) { v = false ; } return v ; }
(method_declaration (modifiers) type: (boolean_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (integral_type) dimensions: (dimensions)) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier))) body: (block (local_variable_declaration type: (boolean_type) declarator: (variable_declarator name: (identifier) value: (true))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (array_access array: (identifier) index: (identifier)) right: (decimal_integer_literal)) right: (binary_expression left: (array_access array: (identifier) index: (identifier)) right: (decimal_integer_literal)))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (array_access array: (identifier) index: (identifier)) right: (decimal_integer_literal)) right: (binary_expression left: (array_access array: (identifier) index: (identifier)) right: (decimal_integer_literal)))))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (false))))) (return_statement (identifier))))