题目: 1. public class test ( 2. public static void main (String args[]) { 3. int i = 0xFFFFFFF1; 4. int j = ~i; 5. 6. } 7. ) 程序运行到第5行时,j的值为多少?( )
举一反三
- 题目:1. public class test (2. public static void main (String args[]) {3. int i = 0xFFFFFFF1;4. int j = ~i;5.6. }7. )程序运行到第5行时,j的值为多少?( ) A: –15 B: 0 C: 1 D: 14
- 程序运行到第5行时,j的值为多少?( )1. public class test {2. public static void main (String args[]) {3. int i = 0xFFFFFFF1;4. int j = ~i;5.6. }7. } A: –15 B: 0 C: 1 D: 14 E: 在第三行的错误导致编译失败
- 程序运行到第5行时,j的值为多少()1. public class test {2. public static void main (String args[]) {3. int i = 0xFFFFFFF1;4. int j = ~i;5.6. }7. } A: –15 B: 0 C: 1 D: 14 E: 在第三行的错误导致编译失败
- 下列程序的运行结果是()。 public class Test public static void main ( String [ ] args ) int count = 0 for( int i = 1 i < 5 i = 2) for( int j = 1 j< = 10 j = 3) count System .out .print (count ) _
- 下面程序的运行结果是 public class Test { public static void main(String[] args) { int temp = 0; for (int i = 1; i < 5; i++) { for (int j = 0; j < i; j++) { temp++; } } System.out.println(temp); } }