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

What is meant by structural programming?

0 Answers  


Can a top level class be private or protected?

0 Answers  


When should we create our own custom exception classes?

0 Answers  


What is difference between c++ and java ?

0 Answers  


Why java is not a pure object oriented language?

5 Answers   IBM,






Are nested try statements are possible?

2 Answers  


What are the latest versions in JAVA related areas?

3 Answers   Netcraft,


If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?

0 Answers   CDAC,


Write a program to reverse a number in java?

0 Answers  


In Inheritance if we are implementing Multi level inheritance and all class having same name of variable and now i want to access each class variable and how it is possible?

2 Answers  


I don’t want my class to be inherited by any other class. What should I do?

0 Answers  


What is map and hashmap in java?

0 Answers  


Categories