TQueue1.java

Code