diff options
Diffstat (limited to 'java.html.markdown')
-rw-r--r-- | java.html.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java.html.markdown b/java.html.markdown index 50875491..dffc3828 100644 --- a/java.html.markdown +++ b/java.html.markdown @@ -101,9 +101,9 @@ public class LearnJava { // Arrays //The array size must be decided upon instantiation - //The following formats work for declaring an arrow + //The following formats work for declaring an array //<datatype> [] <var name> = new <datatype>[<array size>]; - //<datetype> <var name>[] = new <datatype>[<array size>]; + //<datatype> <var name>[] = new <datatype>[<array size>]; int [] intArray = new int[10]; String [] stringArray = new String[1]; boolean boolArray [] = new boolean[100]; |