What's array | Sololearn: Learn to code for FREE!

+41

What's array

Array

5/30/2019 11:50:46 AM

S.H

5 Answers

New Answer

+14

It's collection of items of same type!

+6

An array is collection of items stored at contiguous memory locations. The idea is to store multiple items of same type together. This makes it easier to calculate the position of each element by simply adding an offset to a base value, i.e., the memory location of the first element of the array (generally denoted by the name of the array). For more refer to these links : https://www-geeksforgeeks-org.cdn.ampproject.org/v/s/www.geeksforgeeks.org/introduction-to-arrays/amp/?amp_js_v=a2&amp_gsa=1&usqp=mq331AQA#referrer=https%3A%2F%2Fwww.google.com&amp_tf=From%20%251%24s&ampshare=https%3A%2F%2Fwww.geeksforgeeks.org%2Fintroduction-to-arrays%2F https://docs.oracle.com/javase/tutorial/java/nutsandbolts/arrays.html Thanks

+2

An array is a data structure which stores multiple values in a particular order

+2

Thanks

+1

Single name for multiple contiguous values of same type