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

What is binary search in java?

784


Is it possible to specify multiple jndi names when deploying an ejb?

760


what are different ways in which a thread can enter the waiting state? : Java thread

703


What is strings in java?

790


Explain the hierarchy of java exception classes?

796


How can you share data between two thread in Java?

728


How do you declare an array in java?

741


Difference between Linked list and Queue?

794


Explain OOPs concept.

831


What is assembly condition codes?

752


What is the difference between a static and a non-static inner class in java programming?

718


Which data type is class in java?

765


Is java call by reference?

723


What do you understand by garbage collection in Java? Can it be forced to run?

751


What are the properties of thread?

681