The first exercise involves question 2 from the written part of the first test.
In question 2, you were given 3 classes: A.java, B.java and C.java.
Here they are:
You won't submit this exercise. For feedback, ask the TA during the lab if you cannot figure out why Output.java is producing a particular output or ask your instructor in class/office hour. But, of course, try a bit to figure things out first.
Here is a class of static array methods.
For now there is just one method to print the array (same as exercise 3) and one method to merge two adjacent, sorted sections of an array. That is the method you have to complete and test.Here is a program with a main() method to help you get started testing your merge() method.
You can submit this program using the following commend:
% submit 1030 Exercise5 Arrays2.java