Computer Science, asked by rkjoshichev, 8 months ago

predict output of the following:

int a [ ] = new int [5];
a [0]=4 ; a [1] = 8; a [2] = 7; a [3] = 12; a[4] = 3;
System out println (a [2+1]);

please help me yaaar


Answers

Answered by anindyaadhikari13
7

Answer:

The output is...

12

Explanation:

Hope this will help you...Please mark this answer as the brainliest..

Similar questions
Math, 11 months ago