Does arraylist contain duplicates?
Answer / Pawan Singh
Yes, ArrayList can and does allow duplicate elements. There is no restriction against inserting the same object multiple times.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a graph?
What method is used to place a value onto the top of a stack?
What is priority queue in data structure?
Tell me why can't constant values be used to define an array's initial size
What do you know about the big-o notation and can you give some examples with respect to different data structures?
Why do we need to use computers to help us sort lists?
What is subtree?
Is it possible to make an array volatile in java?
Which is the parent class of abstractqueue class?
How to create an Array?
How are elements stored in hashset?
Who invented quicksort?