Stack API
用ArrayDeque class
API 1: push(E e)
API 2: pop()
API 3: peek()
用LinkedList class
API 1: push(E e)
API 2: pop()
API 3: peek()
用Stack Class(Deprecation)
API: push(E e)
API: pop()
API: peek()
Last updated