killtestのIT問題集ブログ

killtestの最新試験参考書を提供し、合格することが保証できます!

SUN SCJP 310-055 killtestへようこそ!

2010-09-25 10:06:32 | 日記
SUN SCJP 310-055
killtestにはIT関係の経験豊富な多くの講師を抱えていますので、最も専門的なIT資格認定研修機構と言えます。2002年から現在まで、多くの受験者に専門的なIT知識の研修を行い、95%以上の方が各種の資格を取得された実績があります。

試験番号: 310-055

試験の名称: Sun Certified Programmer for the Java 2 Platform.SE 5.0

バージョン:V3.66
問題と解答:240 Q&As
価格(日本円):\ 7900.00 JPY
更新:2010-08-14

Given: 10. interface Jumper { public void jump(); } ... 20. class Animal {} ... 30. class Dog extends Animal
{ 31. Tail tail; 32. } ... 40. class Beagle extends Dog implements Jumper{ 41. public void jump() {} 42. } ...
50. class Cat implements Jumper{ 51. public void jump() {} 52. } Which three are true? (Choose three.)
A.Cat is-a Animal
B.Cat is-a Jumper
C.Dog is-a Animal
D.Dog is-a Jumper
E.Cat has-a Animal
F.Beagle has-a Tail
G.Beagle has-a Jumper
Answer:B C F

Given: 10: public class Hello { 11: String title; 12: int value; 13: public Hello() { 14: title += " World"; 15: }
16: public Hello(int value) { 17: this.value = value; 18: title = "Hello"; 19: Hello(); 20: } 21: } and: 30: Hello c
= new Hello(5); 31: System.out.println(c.title); What is the result?
A.Hello
B.Hello World
C.Compilation fails.
D.Hello World 5
E.The code runs with no output.
F.An exception is thrown at runtime.
Answer:C

Given: 10. interface A { public int getValue(); } 11. class B implements A { 12. public int getValue()
{ return 1; } 13. } 14. class C extends B { 15. // insert code here 16. } Which three code fragments, inserted
individually at line 15, make use of polymorphism? (Choose three.)
A.public void add(C c) { c.getValue(); }
B.public void add(B b) { b.getValue(); }
C.public void add(A a) { a.getValue(); }
D.public void add(A a, B b) { a.getValue(); }
E.public void add(C c1, C c2) { c1.getValue(); }
Answer:B C D