mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-01 04:20:39 +02:00
Spelling error
From datetype to datatype
This commit is contained in:
@@ -103,7 +103,7 @@ public class LearnJava {
|
||||
//The array size must be decided upon instantiation
|
||||
//The following formats work for declaring an arrow
|
||||
//<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];
|
||||
|
Reference in New Issue
Block a user