AP Computer Science Aeasymcq1 pt

Given int[] a = {4, 7, 1}, the value of a[1] is

A.7
B.4
C.1
D.0

Explanation

Core Concept

Index 1 is the second element.

Correct Answer

A7

More Unit 6: Array practice questions

Try a random question →

Practice more AP Computer Science A questions with full explanations

Practice Unit 6: Array Questions →