Corrected a typo and improved readability (#29300)
1. Corrected typo from "sequencial" to "sequential" 2. Corrected the grammar for the sentence "primitive and reference both form of datatypes are allowed" for better readability 3. Added on to the following sentence to make it less redundant; otherwise it would have been just a repeat of the sentence before it. 4. Changed "indexes" to "elements" because an index is just a list of numbers, so saying that "an array can be instantiated to a set number of indexes" would be confusing.pull/34923/head
parent
354043752c
commit
783338410b
|
@ -4,9 +4,9 @@ title: Arrays
|
|||
|
||||
# Array
|
||||
|
||||
An Array is a collection of values (or objects) of similar data types (primitive and reference, both form of data types are allowed) held in sequential memory addresses.
|
||||
An Array is a collection of values (or objects) of similar datatypes (both primitive and reference datatypes are allowed) held in sequential memory addresses.
|
||||
All the variables in the array must be of the same type, declared at instantiation.
|
||||
Arrays always start with the index of 0 and are instantiated to a set number of indexes.
|
||||
Arrays always start with an index of 0 and are instantiated to a set number of indexes.
|
||||
|
||||
**Syntax:**
|
||||
|
||||
|
|
Loading…
Reference in New Issue