Java 15
Java 15
Name: Write a Java program that uses functions to perform the following
S.No: 15 Date: 2022-06-15
ID: 20095A0363
Page No:
operations:
Aim:
Write a Java program that uses functions to perform the following operations:
ii) Deleting n characters from a given position in a given string.
Source Code:
RemoveCharN.java
import java.lang.*;
import java.util.*;
Test Case - 1
User Output
Enter the String: coding
Enter the no. of characters to be deleted: 1
Enter the position: 1
cing