Search Interview Questions
| 3364 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
|Ans. List is an interface whereas ArrayList is an implementation of List.|
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  list  arraylist  list vs arraylist  difference between  collections Asked in 2 Companies basic|
|If you are given a choice to use either ArrayList and LinkedList, Which one would you use and Why ?|
|What is the difference between ArrayList and LinkedList ?|
|Difference between Vector and ArrayList ?|
|Will this code give error if i try to add two heterogeneous elements in the arraylist. ? and Why ?|
|Difference between ArrayList and LinkedList ?|
|Difference between Arrays and ArrayList ?|
| Is this Polymorphism ?|
Map<String, List<String>> inventoryManagerCountMap = new HashMap<String, ArrayList<String>>();
|What is CopyOnWriteArrayList ?|
|What are the advantages and disadvantages of CopyOnWriteArrayList ?|
|Can we add more elements to an array list that has been marked as final ?|