List methods available in Java Queue interface



List methods available in Java Queue interface..

Answer / 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

More Core Java Interview Questions

adapter class ?

2 Answers  


What is nan in java?

0 Answers  


What are the differences between throw and throws?

0 Answers  


what is different between static and non static methods ,using example

2 Answers  


what is deadlock? : Java thread

0 Answers  






How can an object be unreferenced?

0 Answers  


Is treeset sorted in java?

0 Answers  


What are the 4 types of research methods?

0 Answers  


How does java enable high performance?

0 Answers  


How does synchronized modifier work?

1 Answers   IBM,


Can you call a method in a method?

0 Answers  


What is an object’s lock and which object’s have locks?

0 Answers  


Categories