Which of these class can generate an array which can increase and decrease in size automatically?
(a) ArrayList()
(b) DynamicList()
(c) LinkedList()
(d) MallocList()
The question was posed to me in a national level competition.
This is a very interesting question from Java.util topic in division java.util – The Collections Framework of Java