int[]s=newint[]{9,-2,4,5,0};则下标的取值范围是多少?

int[]s=newint[]{9,-2,4,5,0};则下标的取值范围是多少?

A.1~5

B.0~5

C.0~s.length-1

D.0~s.length

正确答案:C

猜你喜欢