lists :: stack

class DemoStack
{
  public static void main(String [] args)
  {
     
    Stack stk = new Stack();  
    
    stk.push(54);
    stk.push(16);
    stk.push(17);
    stk.push(19);
    
    stk.printStack();
    
    stk.delete();
    System.out.println("");
    stk.delete();
    System.out.println("");
    
    stk.printStack();
    
  }
}

class Stack
{
  private Node top;
  
  class Node
  {
    int item;
    Node link;
    
    Node(int i, Node l)
    {
      item = i;
      link = l; 
    }
  }
  
  void push(int item)
  {
    // add code here 
  }
  
  int peek()
  {
    // add code here 
  }
  
  boolean isEmpty()
  {
    // add code here 
  }
  
  void printStack()
  {
    // add code here 
  }
  
  void delete ()
  {  
    // add code here 
  } 
}