使用指令gcc main.c编译会得到什么文件?()
A: . a.out;
B: . a.s;
C: . main.out;
D: . main.s;
A: . a.out;
B: . a.s;
C: . main.out;
D: . main.s;
举一反三
- 以下代码程序运行后输出结果为public class Main { public Main() { System.out.print("main "); } public Main(String s) { this(); System.out.print("main with "+s); } public static void main(String[] args) { Main main = new Main("wow"); } } A: main with main wow B: mainmain with wow C: main main with wow D: main with wowmain
- 请写出以下程序运行结果: public class Main { public Main() { System.out.print("main "); } public Main(String s) { this(); System.out.print("main with "+s); } public static void main(String[] args) { Main main = new Main("wow"); } }
- Engineers are carrying out essential __________ work on the main line to Cambridge.
- The child was _________ by a lorry on the safety crossing in the main street. A: knocked out B: run across C: run out D: knocked down
- 阅读下列代码public class Demo{ public static void main(String [] args){ String s; System.out.println("s="+s); }}输出结果应该是:() A: 代码得到编译,并输出“s=” B: 代码得到编译,并输出“s=null” C: 由于String s没有初始化,代码不能编译通过 D: 代码得到编译,但捕获到NullPointException异常