public static int findMajority ( int arr [ ] , int n ) {
  return arr [ n / 2 ] ;
}

public static int findMajority ( int arr [ ] , int n ) { return arr [ n / 2 ] ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier) dimensions: (dimensions)) (formal_parameter type: (integral_type) name: (identifier))) body: (block (return_statement (array_access array: (identifier) index: (binary_expression left: (identifier) right: (decimal_integer_literal))))))