#BlueJ class context comment0.target=ArrayStack() comment0.text=This\ default\ constructor\ creates\ an\ array\ to\ be\ used\ of\ size\ 100\n\n comment1.params=starting_size comment1.target=ArrayStack(int) comment1.text=This\ constructor\ lets\ the\ user\ input\ a\ starting\ size\ for\ the\ size\ of\ the\ stack\n\n comment2.params=newItem comment2.target=Object\ push(Object) comment2.text="push"\ will\ add\ an\ item\ onto\ the\ top\ of\ the\ stack\n\n comment3.target=Object\ pop() comment3.text="pop"\ removes\ the\ top\ item\ from\ the\ stack\ and\ decrements\ the\ stack\n\n comment4.target=Object\ peek() comment4.text="peek"\ returns\ the\ top\ item\ of\ the\ stack\n\n comment5.target=boolean\ isEmpty() comment5.text="isEmpty"\ returns\ a\ boolean\ (an\ empty\ stack\ returns\ true)\n\n comment6.target=void\ clear() comment6.text="clear"\ removes\ all\ objects\ from\ the\ stack\n\n comment7.target=void\ growArray() numComments=8