List methods available in Java Queue interface
boolean add(object)
boolean offer(object)
object remove()
object poll()
object element()
object peek()
Is This Answer Correct ? | 0 Yes | 0 No |
Can we execute a program without main?
Is array a class in java?
What are the advantages of user defined functions?
What is the diffrence between inner class and nested class?
How can we handle runtime exceptions? write one sample program? Can we write runtime exceptions beside the throws key word? if yes write sample program?
What is Hash Code in Java?
What is boolean keyword in java?
what is difference between front controller and action servlet?
what is the use of StringBuffer?
How we can skip finally block of exception even if some exception occurs in the exception block in java?
Explain the differences between static and dynamic variables?
What’s the difference between constructors and other methods?