Object Oriented Software Engineering   View all facts   Glossary   Help
subject > programming language construct > declaration > Java declaration
Updeclaration

Java declaration comparison table
Subject place have form have example
Java array declaration square brackets following the type
int[] anIntArray = new int[25];
byte[] aByteArray; // not initialized
Account[] anAccountArray = new Account[numAccounts];
Java variable declarationpractically anywhere in Java source code although it is good practice to only declare variables at the beginning of blocks 
int anInteger;

Updeclaration