最新的Oracle Java SE 7 Programmer I - 1Z1-803免費考試真題

Given:

What is the result?

正確答案: B
Given: How many objects have been created when the line / / do complex stuff is reached?

正確答案: C
Which two statements are true?

正確答案: B,E
說明:(僅 Fast2test 成員可見)
Given the code fragment: What is the result?

正確答案: C
說明:(僅 Fast2test 成員可見)
Given the following code:

What will make this code compile and run?

正確答案: F
說明:(僅 Fast2test 成員可見)
View the exhibit:
public class Student {
public String name = "";
public int age = 0;
public String major = "Undeclared";
public boolean fulltime = true;
public void display() {
System.out.println("Name: " + name + " Major: " + major); }
public boolean isFullTime() {
return fulltime;
}
}
Which line of code initializes a student instance?

正確答案: B
Given:

What code should be inserted?

正確答案: D
說明:(僅 Fast2test 成員可見)
Given:
package p1;
public class Test {
static double dvalue;
static Test ref;
public static void main(String[] args) {
System.out.println(ref);
System.out.println(dvalue);
}
}
What is the result?

正確答案: A
說明:(僅 Fast2test 成員可見)
Given the code fragment:
List colors = new ArrayList();
colors.add("green");
colors.add("red");
colors.add("blue");
colors.add("yellow");
colors.remove(2);
colors.add(3,"cyan");
System.out.print(colors);
What is the result?

正確答案: C
說明:(僅 Fast2test 成員可見)

聯系我們

如果您有任何問題,請留下您的電子郵件地址,我們將在12小時內回复電子郵件給您。

我們的工作時間:( GMT 0:00-15:00 )
週一至週六

技術支持: 立即聯繫 

English 日本語 Deutsch 한국어