public static void main ( String args [ ] ) {
  int arr [ ] = {
    1000 , 11 , 445 , 1 , 330 , 3000 };
    int arr_size = 6 ;
    Pair minmax = getMinMax ( arr , arr_size ) ;
    System . out . printf ( "\nMinimum element is %d" , minmax . min ) ;
    System . out . printf ( "\nMaximum element is %d" , minmax . max ) ;
  }
  
public static void main ( String args [ ] ) { int arr [ ] = { 1000 , 11 , 445 , 1 , 330 , 3000 } ; int arr_size = 6 ; Pair minmax = getMinMax ( arr , arr_size ) ; System . out . printf ( " \n Minimum ▁ element ▁ is ▁ % d " , minmax . min ) ; System . out . printf ( " \n Maximum ▁ element ▁ is ▁ % d " , minmax . max ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (type_identifier) name: (identifier) dimensions: (dimensions))) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) dimensions: (dimensions) value: (array_initializer (decimal_integer_literal) (decimal_integer_literal) (decimal_integer_literal) (decimal_integer_literal) (decimal_integer_literal) (decimal_integer_literal)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal) (field_access object: (identifier) field: (identifier))))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal) (field_access object: (identifier) field: (identifier)))))))