146.
147.
148.
149.
150.
151.
152.
153.
154.
155.
156.
157.
158.
159.
160.
161.
What are the four main interfaces in the Java Collection API.
How will you search for a specific element in an array?
Which collection would you choose
if do not want duplicates
and do not care about the order?
Explain with a code sample how
you can remove the head of a
queue.
Which collection implementation
allows growing or shrinking
its size and provides indexed access to its elements?
Explain the Queue interface.
Explain the Comparator interface.
Explain some of the methods on the Queue Interface.
Is it possible to mix generic and non–generic collections? If so,
give example.
What are some of the important
methods on the Collection
interface?
Do'stlaringiz bilan baham: