From 783338410b6ade64d6cfcd98df17c48cc76506aa Mon Sep 17 00:00:00 2001 From: retaric <33065998+retaric@users.noreply.github.com> Date: Mon, 21 Jan 2019 19:43:41 +0000 Subject: [PATCH] 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. --- guide/english/java/arrays/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guide/english/java/arrays/index.md b/guide/english/java/arrays/index.md index 29a2e992a3..39abeb8a88 100644 --- a/guide/english/java/arrays/index.md +++ b/guide/english/java/arrays/index.md @@ -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:**