Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package circularqueue;
- /**
- *
- * @author mauliksakhida
- */
- public class CircularQueue {
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- QueueImplementation qi = new QueueImplementation(4);
- qi.enqueue(3);
- qi.enqueue(5);
- qi.enqueue(9);
- qi.enqueue(56);
- qi.dequeue();
- qi.enqueue(89);
- }
- }
Add Comment
Please, Sign In to add comment