Can you tell me how to make a object of inbuilt java queue? What will be the code for that?

Can you tell me how to make an object of an inbuilt java queue? What will be the code for that ? Talking about dynamic queue

Since Queue is an interface,objects cannot be created of the type queue. We always need a class which extends this list in order to create an object.