Kotlinlearncs.online LogoJava
Return to List

Homework: Singly Linked Stack

Created By: Chris Taylor
/ Version: 2023.8.0

Create a class, Stack, that implements the PureStack interface with the following methods:

  • Object peek();
  • Object pop();
  • void push(Object item);
  • boolean isEmpty();

Your implementation should make use of a Singly Linked List.

Related Lessons

Stuck? You may find these lessons helpful: