· Experience creating and maintaining an array.
· Experience walking and searching an array.
1. Implement the class shown here.
NOTE: you must implement this lab using java arrays. Using ArrayList, List, or any other class that implements a dynamic array or iterator will cost you 20 points even if your code passes all the autograder tests.
2. Turn in your assignment by running the autograder.
1. Test your lab by using the ‘blue square’ icon in JGrasp to create a BoxOfTruffles object, then call the add() method to add a truffles to the box.
2. Call the other methods to be sure they do what they are supposed to do.
3. Try the autograder.