diff --git a/CURD.class b/CURD.class new file mode 100644 index 0000000..3ead725 Binary files /dev/null and b/CURD.class differ diff --git a/CURD.java b/CURD.java new file mode 100644 index 0000000..92087fc --- /dev/null +++ b/CURD.java @@ -0,0 +1,62 @@ +import java.util.*; +public class CURD +{ + int ar[],m; + CURD(int a) + { + m=a; + ar=new int[m]; + } + void CreateArray() + { + Scanner sc=new Scanner(System.in); + System.out.println("Enter elements of array"); + for (int i=0;i=m || pos<0){ + System.out.println("Out of bound index"); + return; + } + for (int i=0;i=m || pos<0){ + System.out.println("Out of bound index"); + return; + } + for(int i=pos;i