Examlex

Solved

Consider the Following Code Snippet

question 28

Multiple Choice

Consider the following code snippet:
Int[][] arr =
{
{ 1, 2, 3 },
{ 4, 5, 6 }
};
Int val = arr[0][2] + arr[1][2];
System.out.println(val) ;
What is the output of the given code snippet on execution?


Definitions:

Related Questions