单选题

 在下列代码的横线处填写( ),完成对有 n个int类型元素的数组 array 由⼩到⼤排序。

A.

  int j = 1; j < n; j++

B.

 int j = 0; j < n; j++

C.

 int j = 0; j < i - 1; j++

D.

  int j = 0; j < i; j++

发表评论

请 登录 后再回复