public static void main ( String [ ] args ) {
  String a = "GeeksforGeeks A Computer Science portal for Geeks" ;
  minMaxLengthWords ( a ) ;
  System . out . print ( "Minimum length word: " + minWord + "\nMaximum length word: " + maxWord ) ;
}

public static void main ( String [ ] args ) { String a = " GeeksforGeeks ▁ A ▁ Computer ▁ Science ▁ portal ▁ for ▁ Geeks " ; minMaxLengthWords ( a ) ; System . out . print ( " Minimum ▁ length ▁ word : ▁ " + minWord + " \n Maximum ▁ length ▁ word : ▁ " + maxWord ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (type_identifier) dimensions: (dimensions)) name: (identifier))) body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (string_literal))) (expression_statement (method_invocation name: (identifier) arguments: (argument_list (identifier)))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (binary_expression left: (binary_expression left: (binary_expression left: (string_literal) right: (identifier)) right: (string_literal)) right: (identifier)))))))