static int findMaxSum ( int arr [ ] , int n ) {
  int t = Math . max ( maxSum1 ( arr , n ) , maxSum2 ( arr , n ) ) ;
  return t ;
}

static int findMaxSum ( int arr [ ] , int n ) { int t = Math . max ( maxSum1 ( arr , n ) , maxSum2 ( arr , n ) ) ; return t ; }
(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 (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier))) (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier))))))) (return_statement (identifier))))