试题详情
- 单项选择题 Given the following code: 1) public void modify() { 2) int i, j, k; 3) i = 100; 4) while ( i > 0 ) { 5) j = i * 2; 6) System.out.println (" The value of j is " + j ); 7) k = k + 1; 8) i--; 9) } 10) } Which line might cause an error during compilation?()
A、 line 4
B、 line 6
C、 line 7
D、 line 8
- C
关注下方微信公众号,在线模考后查看
热门试题
- package test; class
- What is th
- class Su
- Integer i&ensp
- public class&e
- Given that&ens
- Which two̳
- 1. public&ensp
- 有五个学生,每个学生有3门课的成绩,从键
- Which gets&ens
- Which two̳
- 下面描述属于java虚拟机功能的是()。
- 出圈算法典例:50个人围城一圈,数到3或
- Which willQ
- 以下哪些包是Java标准库中常用的包?(
- volatile关键字的说法错误的是()
- You want
- 下面哪种布局方式只影响控件的高度,而不影
- 11. class&ensp
- 11. class&ensp