Java Not Understanding Code For Queue Implementation Stack Overflow

Java Not Understanding Code For Queue Implementation Stack Overflow