Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Main {
- public static void main(String args[]) {
- QueueY a = new QueueY();
- for (int i = 0; i<10; i++){
- a.Enqueue(i);
- }
- System.out.println(a.size());
- for (int i = 0; i<10; i++){
- System.out.println(a.Dequeue());
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement