已知数组array,其最后一个元素的下标是?
举一反三
- Look at the following array definition: 看看下面的数组定义: [br][/br]int[] bigNumbers = new int[50]; [br][/br]How many elements does the array have? 数组有多少个元素?[br][/br] Answer: ____。[br][/br]What is the index of the first element in the array? 数组中第一个元素的下标是多少?[br][/br] Answer: ____。[br][/br]What is the index of the last element in the array? 数组中最后一个元素的下标是多少?[br][/br] Answer: ____。
- 数组的长度只和数组元素中最后一个元素的下标有关。()
- 声明了一个数组Array[],则Array[3]表示第 个元素
- 一维数组a的定义语句如下:int a[10];请回答:该一维数组a中第一个数组元素的下标是 ,最后一个数组元素的下标是 。
- 设一维数组的元素是n个,则其元素的最小下标是 ,最大下标是 。