import java.util.*;
class QueueExample
{
public static void main(String args[])
{
//Queue<String> q=new Queue<>();//queue is not a class
Queue<Integer> q=new LinkedList<>();//dynamic binding
q.add(10);
q.add(20);
q.add(30);
int removed=q.remove();
System.out.println(“removed element is=” +removed);
System.out.println(“Queue elements are=” +q);
}}