单项选择题

以下代码片段执行后,sum的值为:()
vari=1,sum=0;while(i<5){sum+=i;i++;}

A.15
B.10
C.6
D.5

<上一题 目录 下一题>
热门 试题

多项选择题
函数wx.startAccelerometer(Objectobject)的参数属性object.interval的合法值包括()

A.game
B.ui
C.normal
D.100ms/次

单项选择题
API函数wx.chooseVideo(Objectobject)的参数属性()用于设置拍摄视频最长拍摄时间。

A.sourceType
B.compressed
C.maxDuration
D.camera

相关试题
  • 当使用魔棒工具选择图像时,在“容差”数值...
  • From this passage we can learn tha...
  • By saying However,for all this,the...
  • Which of the following statements i...
  • The word “appeal to ”in Para.4p...