Queue as linkedlist and inheritance

i didnt understand the 16th line. how they used queue and linked list as reference and instance. pls explain this thing in more detail.