Guest User

Untitled

a guest
Jul 17th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. package circularqueue;
  2.  
  3. /**
  4. *
  5. * @author mauliksakhida
  6. */
  7. public class CircularQueue {
  8.  
  9. /**
  10. * @param args the command line arguments
  11. */
  12. public static void main(String[] args) {
  13.  
  14. QueueImplementation qi = new QueueImplementation(4);
  15. qi.enqueue(3);
  16. qi.enqueue(5);
  17. qi.enqueue(9);
  18. qi.enqueue(56);
  19. qi.dequeue();
  20. qi.enqueue(89);
  21. }
  22.  
  23. }
Add Comment
Please, Sign In to add comment