Java   View all facts   Glossary   Help
syntactic unit > declaration > array declaration
Next declarationclass declaration    Updeclaration    Previous declarationvariable declaration   

array declaration
subjectfact 
array declarationhas example
int[] anIntArray = new int[25];
byte[] aByteArray; // not initialized
Account[] anAccountArray = new Account[numAccounts];   
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:05.0
has syntax
dataTypeOfElements[] arrayName;
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:36:05.0
has syntax square brackets following the type    source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:05.0
is a subtopic of Arrays2001-10-19 11:36:05.0
is a kind of declarationsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:05.0
declarationis part of definition2001-10-19 11:36:35.0
syntactic unithas syntax rule
bold = mandatory
italic = non-terminal
normal font = optional
2001-10-19 11:38:04.0