List methods available in Java Queue interface

Answer Posted / hrindows@gmail.com

boolean add(object)
boolean offer(object)
object remove()
object poll()
object element()
object peek()

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is fastest collection in java?

644


Why java is not 100% object-oriented?

986


What are the basics of core java?

630


Differentiate between array list and vector in java.

735


What is the java project architecture?

1865






What are the methods available in a class?

701


How do you implement tree mirroring in java?

683


What is getkey () in java?

667


Can we make a constructor final?

648


List some important characteristics on jre

675


What is oop principle in java?

638


What is the purpose of final keyword and when to use it?

629


What is a module function?

654


What is methods in java?

628


Can you instantiate the math class?

709