thanassis.com
home
blog
Online Games
Sudoku
Ivory Tower
Web Hangman
Software
Java
Object Oriented
Mobiles / J2ME
Research
C.S. Resources
Galleries
Greece
Music
Photography
Art
Personal
About me
Useful Links
Contact
Site
Downloads
My other sites
Thanassis.gr
Djangopedia
Kilogames
Xoocle
TrainJava
GameAnatomy
Latest News
Declaring Arrays
int v[]; // simple array of int’s
v = new int[10]; // fixed length array
int m[] = {4,3,2,1}; // initialised array.
int mm[][]; // two dimensional array
int mm[][][]; // three dimensional array
mm = new int[3][10]; // fixed length two dimensional array
int mm[][] = { { 4, 5, 8, 9}, { 8, 2, 5, 7} };
// initialised two dimensional array
Previous slide
Next slide
Back to first slide
View graphic version
Web
this site
Thanassis Blog News
In the News
Deep impact smashes comet
3 Florida shark attacks in a week
Mad Cow
summit in Scotland
Search the Archives