Consider linearArray is a linear array with n elements and k is a positive integer such that k<=n.
Write a Java program to delete an element available at the kth position of linearArray.
Let linearArray be a Linear Array (unordered) with n elements and k is a positive integer such that k<=n.
Write a Java program to insert an item into the kth position of linearArray.