public static void main ( String [ ] args ) {
  int num = 1234 ;
  System . out . println ( "Number: " + num ) ;
  int n = 3 ;
  System . out . println ( "Digit to be deleted: " + n ) ;
  System . out . println ( "Number after " + n + " digit deleted from starting: " + deleteFromStart ( num , n ) ) ;
  System . out . println ( "Number after " + n + " digit deleted from ending: " + deleteFromEnd ( num , n ) ) ;
}

public static void main ( String [ ] args ) { int num = 1234 ; System . out . println ( " Number : ▁ " + num ) ; int n = 3 ; System . out . println ( " Digit ▁ to ▁ be ▁ deleted : ▁ " + n ) ; System . out . println ( " Number ▁ after ▁ " + n + " ▁ digit ▁ deleted ▁ from ▁ starting : ▁ " + deleteFromStart ( num , n ) ) ; System . out . println ( " Number ▁ after ▁ " + n + " ▁ digit ▁ deleted ▁ from ▁ ending : ▁ " + deleteFromEnd ( num , n ) ) ; }
(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))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (binary_expression left: (string_literal) right: (identifier))))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (binary_expression left: (string_literal) right: (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: (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: (string_literal) right: (identifier)) right: (string_literal)) right: (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier)))))))))