题目内容

You need to update a value of a hash table (that is, HashMap) where the primary key must equal a specified string. Which statements would you need to use in the implementation of this algorithm

A. Iteration statement
B. Expression statement
Conditional statement
D. Transfer of control statement

查看答案
更多问题

Which two command-line usages appropriately identify the classpath

A. javac -cp/project/classes/MainClass.java
B. javac -sp/project/classes/MainClass.java
C. javac -classpath/project/classes/MainClass.java
D. javac -classpaths/project/classes/MainClass.java

A switch statement works with which wrapper class/reference type(s)

A. Character
Byte
C. Short
D. Int

Which of the following statements will not compile

A. if(true);
B. if(true) {}
C. if(true) {;}
D. if(true) {;;}
E. if(true); {};
F. All statements will compile.

What type of statement is the following equation: y = (m*x)+b

A. Conditional statement
B. Assignment statement
C. Assertion statement
D. Transfer of control statement

答案查题题库