so I am working on Compositions i have to use the Java interface Queue<E>, create a class named InstructorQueue that implements the Queue interface and all 5 of the operations of a Queue collection interface. You may choose any of the Java collections (choose wisely) as the underlying container.
so which should i use and can someone give me a good example of compositions

Which do you think you should choose? Why do you think so?

Have you been paying attention in class at all? If so, you should be able to formulate some more specific questions to ask here.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.