The standard Java library implements a Stack class, but in this exercise you are asked to provide your own implementation. Do not implement type parameters. Use an Object [] array to hold the stack elements. When the array fills up, allocate an array of twice the size and copy the values to the larger array