向控制台输出数据的时候,用到的方法是()
A: System.in.print()
B: System.out()
C: System.out.print()
D: System.printf()
A: System.in.print()
B: System.out()
C: System.out.print()
D: System.printf()
举一反三
- 下列选项中,循环会无限执行的是______。 A: int i = 1 ; while ( i < 10) System .out .print( “ ” + i) ; B: for( int i = 1 ; i < 10 ;i ++) System .out .print( “ ” + i); C: for( int i = 10 ; i > 0 ;i --) System .out .print( “ ” + i); D: int i = 1 ; while (true) { System .out .print( “ ” + i); i ++ ; if ( i > 5) break ;
- 调用System类的setOut(PrintStream out)方法可以实现标准输出流的重定向。
- Two systems of weights and measures used in the U.S. are ______. A: the U. S. Customary System and the metric system B: the International System and the metric system C: the Imperial System and the metric system D: the Customary System and the Imperial system
- The Atlantic Ocean is ( ). A: a closed system B: an open system C: an isolated system D: a homogeneous system
- 在C#中,引用命名空间System的正确语句是()。 A: using System B: # import 〈System〉 C: uses System D: # include 〈System〉