SyntaxFix
Write A Post
Hire A Developer
Questions
Queue<String> qe=new LinkedList<String>(); qe.add("b"); qe.add("a"); qe.add("c");
Since Queue is an interface, you can't create an instance of it as you illustrated
Queue