1Z1-803 無料問題集「Oracle Java SE 7 Programmer I」

Given:

What is the result?

Given the code fragment:
System.out.printIn ("Result: " +3+5);
System.out.printIn ("Result: " + (3+5));
What is the result?

解説: (JPNTest メンバーにのみ表示されます)
Given:
public class Test { public static void main(String[] args) { int day = 1; switch (day) { case "7": System.out.print("Uranus"); case "6": System.out.print("Saturn"); case "1": System.out.print("Mercury"); case "2": System.out.print("Venus"); case "3": System.out.print("Earth"); case "4": System.out.print("Mars"); case "5": System.out.print("Jupiter"); }
} }
Which two modifications, made independently, enable the code to compile and run?

正解:A、D 解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
The catch clause argument is always of type__________.

解説: (JPNTest メンバーにのみ表示されます)
Give:
Public Class Test {
}
Which two packages are automatically imported into the java source file by the java compiler?

正解:A、C 解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
Given:

What code should be inserted?

解説: (JPNTest メンバーにのみ表示されます)
Given the code fragment: What could expression1 and expression2 be, respectively, in order to produce output -8, 16?

Given: Given:
public class SuperTest {
public static void main(String[] args) { statement1 statement2 statement3
}
}
class Shape {
public Shape() {
System.out.println("Shape: constructor");
}
public void foo() {
System.out.println("Shape: foo");
}
}
class Square extends Shape {
public Square() {
super();
}
public Square(String label) {
System.out.println("Square: constructor");
}
public void foo() {
super.foo();
}
public void foo(String label) {
System.out.println("Square: foo");
}
}
}
}
What should statement1, statement2, and statement3, be respectively, in order to produce the result?
Shape: constructor
Square: foo
Shape: foo

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡