/* File: MyArrays * * Author: CS112 * * Purpose: To create a class that allows you to * manipulate an array of integers. */ import java.util.Arrays; public class MyArray { // the sentinel value used to indicate end of input, initialized to -999 // the default size of the array if one is not specified, initialized to 20 // the lower bound of the range of integer elements, initialized to 10 // the upper bound of the range of integer elements, initialized to 50 // a data member to reference an array of integers // a data member to represent the number of elements entered into the array // CONSTRUCTORS // Initializes a MyArray object using default members public MyArray() { arr = new int[DEFAULT_SIZE]; numElements = 0; } public static void main(String [] args) { System.out.println("\nUnit Test for MyArray.\n"); // Fill in your unit tests } }