Suppose that I have the following declarations:
int[ ] data = new int;
Write a small segment of Java code that will shift data...data
up one spot to the locations data...data. Then insert the number
42 at location data. Use a for loop (not System.arraycopy).