English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

After the following code executes, what is the value of a[ 3 ][ 2 ]?

int[][] a =
{
{ 1, 2, 3, 4 },
{ 5, 6, 7, 8 },
{ 9, 10, 11, 12 },
{ 13, 14, 15, 16 }
};

A) 7

B) 10

C) 11

D) 12

E) 15

2007-05-15 07:58:31 · 3 answers · asked by Anonymous in Computers & Internet Programming & Design

3 answers

simple ..
15

hey it seems dat hmmmmm guy dosnt even know de basic java things..n he gav de previous 1 a thumbs down for nothin...
jj

2007-05-15 08:12:25 · answer #1 · answered by JJ 4 · 1 1

e. 15

2007-05-15 15:04:16 · answer #2 · answered by Andy T 7 · 2 1

In Two dimesional array
this means 3rd row & 2nd column each

output is 10

If this is upto your expectations dont hesitate to choose it as best answer, this encourages me to help you people out......
For further queries email at kooldrhunk@yahoo.com
Thanks in advance..........

2007-05-15 15:06:09 · answer #3 · answered by hmmmmmmmm! 3 · 0 3

fedest.com, questions and answers