answersLogoWhite

0

Does a collection require an array?

Updated: 12/22/2022
User Avatar

Wiki User

15y ago

Best Answer

No. While there are quite a few which use arrays to store their data (ArrayList, HashMap, Vector, etc.) the typical counter example is a LinkedList. Java's implementation of the LinkedList class uses the standard Entry-Entry.next method of connecting elements in the list.

You can even consider a collection as something that is similar to an array but with enhanced features. Collections have a lot of features that arrays do not have.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Does a collection require an array?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What array used for in c?

Arrays are used when you require constant-time random-access to a collection of anonymous variables of the same type.


What is array Explain with syntax?

an array is a collection of the same data type.


How does structure differ from an array?

structure is a collection of dissimilar datatypes whereas array is collection of similar datatypes.....


Difference between 1D array and 2D arrays?

1d array contains single row and multiple columns and 2d array contains multiple row and multiple columns. 2d array is a collection of 1d array placed one below another,while 1d array is simple a collection of elements.


What is an arrays in c?

array is collection of many data


What is a collection of all values?

That might refer to an array.


Explain the Different types of array?

one dementional array and two dementional array


What is Arrays?

Array is a collection of items of same data type..


What is a synonym and antonym of array?

Synonyms for array are display, arrangement, line up, or collection. Antonym is the opposite: disarray, random.


Is an array is a collection of characters that can be fixed or variable?

No. An array is a collection of objects of any type, such as doubles, not just characters. You can even have arrays of arrays, or arrays of structs. In C, the size of an array is fixed, but it is possible to write code that will allow you to manually make it variable in size.


What is the synonym of bundle?

package, collection, bag, array, pack, quantity, stack


What is another word for array?

Cluster, exhibition, collection, pattern, design, arrangement...