慕课网-安卓工程师初养成-6-2 练习题

来源:http://www.imooc.com/ceping/1594

 定义一个数组 int[ ] scores = { 1, 2, 3, 4, 5, 6, 7 } ,数组中的 score[3] 指的是( )

A 1

B 2

C 3

D 4


答案:D

知识解析

数组下标从 0 开始,因此 score[3] 表示数组中的第 4 个元素

原文地址:https://www.cnblogs.com/chenliting/p/3960878.html