MCQ Single Best Answer Easy

QOutput?

int[] a = {1, 2, 3};
for (int i = a.length - 1; i >= 0; i--) {
    System.out.print(a[i] + " ");
}

ID: #24484 Array Introduction in Data Structure 24 views
Question Info
#24484Q ID
EasyDifficulty
Array Introduction in Data StructureTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 1 2 3
  • B 3 2 1
  • C 2 1
  • D Error
Correct Answer: Option B

Explanation

Answer: b) 3 2 1

Share This Question

Challenge a friend or share with your study group.