Изменения
→Пример
<tex>post: size = size' + 1</tex> <tex> and </tex> <tex> elements[size'] = element </tex>
<tex> void</tex> <tex> push (Object</tex> <tex> element) </tex>
<tex>post: result == elements[size - 1]</tex>
<tex> Object</tex> <tex> peek() </tex>