LinkedList queue = new LinkedList();
The below written line throws error whenevr i try to initialise it how can i overcome it
If your class name is Linkedlist please change it to main and the calls to the class too
LinkedList queue = new LinkedList();
If your class name is Linkedlist please change it to main and the calls to the class too