public class Question1
{ public static void main(String args[]) {
int arr()={0, 1, 2, 3, 4, 5, 6, 7};
for (int b=5,b>2;b-=2)
{
System.out.println (arr[--b]);
}
}
}
What will be the output of the program if it is executed?
a. 4 b. 2 C. 3 d. 5
Answers
Answered by
0
Answer:
The correct output is option A, 4
Attachments:
Similar questions