Which collection object is faster to retrieving the data and
inserting the data into it.
Answers were Sorted based on User's Feedback
Answer / nav dev
ArrayList is faster to retrieving
Set is faster to inserting
Is This Answer Correct ? | 21 Yes | 1 No |
Answer / lavanya
LinkedLisr is facter in inserting and retrieving from any
position on the list.
Is This Answer Correct ? | 11 Yes | 3 No |
Can we use different return types for methods when overridden?
How do you add an element to a hashset in java?
What is the relationship between a method?s throws clause and the exceptions that can be thrown during the method?s execution?
What is the collection interface?
can we have function for truncating the sign as like abs in oracle.
What is consumer interface?
What is the use of join method?
Can we have any code between try and finally blocks?
Ducking is automatic in checked exception?True or false
When is finally block not called?
Can we have two main methods in a java class?
What are the different tags provided in jstl?