To compile a program named First, use the following command:要编译名为First的程序,使用一下命令:
A. java First.java
B. javac First
C. javac First.java
D. compile First.javac
If the following Java statements are executed, what will be displayed?如果执行以下Java语句,以下哪个内容将会打印出?System.out.println("The top three winners are\n");System.out.print("Jody, the Giant\n");System.out.print("Buffy, the Barbarian");System.out.println("Adelle, the Alligator");
A. The top three winners areJody, the GiantBuffy, the BarbarianAdelle, the Alligator
B. The top three winners areJody, the Giant\nBuffy, the BarbarianAdelle, the Alligator
C. The top three winners are Jody, the Giant\nBuffy, the BarbarianAdelle, and the Albino
D. The top three winners areJody, the GiantBuffy, the BarbarianAdelle, the Alligator
This is a value that is written into the code of a program.这是一个写入程序代码中的值。
A. Literal 常量
B. assignment statement 赋值语句
C. variable 变量
D. operator 操作符
When the + operator is used with strings, it is known as the:当+运算符与字符串一起使用时,称为:
Assignment operator 赋值运算符
B. String concatenation operator 字符连接运算符
C. Addition operator 加法
D. Combined assignment operator 复合运算符