Java Reference
In-Depth Information
//xx
//xx
//xxxx
//xxxxxxxx
//xxx
//************************************
// static array initialization
//************************************
byte[][] smallArray = {
{10, 11, 12, 13},
{20, 21, 22, 23},
{30, 31, 32, 33},
{40, 41, 42, 43},
};
// Display the array element at row 2, column 3
System.out.println(smallArray[1][2]); // Value is 21
}
}
Search WWH ::




Custom Search