how to initiate a queue in java

Java
 Queue<Integer> q = new LinkedList<>(); 
Source

Also in Java: