Single Choice Easy

QOutput?

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

ID: #24479 Array Introduction in Data Structure 32 views
Question Info
#24479Q ID
EasyDifficulty
Array Introduction in Data StructureTopic

Choose the Best Option

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

  • A 1 2
  • B 1 2 3
  • C 0 1 2
  • D Compilation error
Correct Answer

Explanation

1 2 3
No Previous Next Question

Share This Question

Challenge a friend or share with your study group.