IfAr[ ] = {2, 5, 6, 8}; then what will be
the output of the following
statement?
System.out.println(Ar[2 + 1]);
Answers
Answered by
5
The output will be 8
Explanation:
Ar[2 + 1] is the same as Ar[3] which is pointing to the location of 8.
Answered by
0
The output will be 8
The output will be 8because it's number at index 3
The output will be 8because it's number at index 3
The output will be 8because it's number at index 3 Ar[2 + 1] is the same as Ar[3] which is pointing to the location of 8.
Similar questions