Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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

When is an object subject to garbage collection?

260


Can we inherit a class with private constructor?

225


What are the differences between the constructors and methods?

240


Why synchronization is important in java?

255


List some important characteristics on jre

281






What are the parts of a method?

228


How many decimal places is a double?

226


How do you end a program?

233


What are the restrictions that are applied to the java static methods?

245


What is the purpose of tostring() method in java?

246


How to convert string to byte array and vice versa?

284


How can I debug the Java security exceptions and AccessControlExceptions?

288


What does n mean?

235


How do listeners work?

207


What does I ++ mean?

232