+ 5
Why is arry used
Arrays are difficult to understand
7 Respuestas
+ 8
An array can shorten the code that you need to write. And more specifically the above two answers are correct
+ 5
Arrays are useful for containing multiple values of the same type in a list that can be traversed forward and backward. The values in the array are stored one after another in the computer's memory, and are thus efficient for storing lists if all of the values are of the same type (i.e. char, int, float, etc.)
Static arrays are arrays that have a set number of elements. Take the following declaration:
char myname[64];
This sets up a variable called "myname" with 64 values of type "char". Or this:
int seconds[10];
http://qa.answers.com/mobile/Q/Why_arrays_are_using
+ 5
I think:
Array is used to store a collection of MULTIPLE values of SAME Data Type in an single Variable.
ARRAY IS AN VARIABLE OF VARIABLES
+ 3
If you're struggling to understand arrays, start with one dimensional arrays. Think of them as a single column in a spreadsheet or a table with one column.
The column contains values in each row of the same type.
Then just remember the first row is 0.
The beauty with using them, is you can pass around the whole column or iterate through each row by referencing the one variable.
If you tried the same without arrays, you would have to declare a variable for each row in your column.
+ 2
Array is used to store a collection of diiferent data type in a single string .
+ 2
Arrays can be used to store a list of data which is better than declaring a lot of variables for only one task.
You can also use ArrayList Class of Java in Java Programming as well as in Kotlin.
It provides a lot of features that can be understood by anyone easily.
Good Luck For Your Learning!☺