public static void main ( String [ ] args ) {
  int a = 10 , b = 15 , g ;
  g = gcd ( a , b ) ;
  System . out . println ( "GCD(" + a + " , " + b + ") = " + g ) ;
  a = 35 ;
  b = 10 ;
  g = gcd ( a , b ) ;
  System . out . println ( "GCD(" + a + " , " + b + ") = " + g ) ;
  a = 31 ;
  b = 2 ;
  g = gcd ( a , b ) ;
  System . out . println ( "GCD(" + a + " , " + b + ") = " + g ) ;
}

public static void main ( String [ ] args ) { int a = 10 , b = 15 , g ; g = gcd ( a , b ) ; System . out . println ( " GCD ( " + a + " ▁ , ▁ " + b + " ) ▁ = ▁ " + g ) ; a = 35 ; b = 10 ; g = gcd ( a , b ) ; System . out . println ( " GCD ( " + a + " ▁ , ▁ " + b + " ) ▁ = ▁ " + g ) ; a = 31 ; b = 2 ; g = gcd ( a , b ) ; System . out . println ( " GCD ( " + a + " ▁ , ▁ " + b + " ) ▁ = ▁ " + g ) ; }
(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: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal)) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal)) declarator: (variable_declarator name: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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 (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (string_literal) right: (identifier)) right: (string_literal)) right: (identifier)) right: (string_literal)) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))) (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))) (expression_statement (assignment_expression left: (identifier) right: (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 (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (string_literal) right: (identifier)) right: (string_literal)) right: (identifier)) right: (string_literal)) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))) (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))) (expression_statement (assignment_expression left: (identifier) right: (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 (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (string_literal) right: (identifier)) right: (string_literal)) right: (identifier)) right: (string_literal)) right: (identifier)))))))