queue implementation in java using arraylist

Java
Queue<Integer> queue=new ArrayList<Integer>();
Source