public static int getSum ( int arr [ ] , int p ) {
  return arr . length ;
}

public static int getSum ( int arr [ ] , int p ) { return arr . length ; }
(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 (field_access object: (identifier) field: (identifier)))))