IT certification exam dumps

Certinside provide IT Certification free dumps
Subscribe

212-055 torrent exam free down

September 01, 2009 By: admin Category: SUN

212-055 exam

Sun Certified Programmer for the Java 2 Platform.SE 5.0 Practice Exam


Exam Number/Code: 212-055
Exam Name: Sun Certified Programmer for the Java 2 Platform.SE 5.0
Questions and Answers: 259 Q&A

certinside offers free pdf exam for SUN SCJP
212-055 (Sun Certified Programmer for the Java 2 Platform.SE 5.0). You can check out the interface, question quality and usability of our practice exams before you decide to buy it. We are the only one site can offer demo for almost all products. certinside’s 212-055 study guide will help you pass your 212-055 test.

Why choose certinside 212-055 Exam
Quality and Value for the 212-055 Exam
100% Guarantee to Pass Your 212-055 Exam
Downloadable, Interactive 212-055 Testing engines
Verified Answers Researched by Industry Experts
Drag and Drop questions as experienced in the Actual Exams
Practice Test Questions accompanied by exhibits
Our Practice Test Questions are backed by our 100% MONEY BACK GUARANTEE.

certinside Exam Help you pass 212-055 Exam and obtain the SUN
SCJP
Certification.

free down 212-055 pdf torrent

SUN 212-055 Downloadable, Interactive Testing engines

We are all well aware that a major problem in the IT industry is that there is a lack of quality study materials. Our Exam Preparation Material provides you everything you will need to take a certification examination. Like actual certification exams, our Practice Tests are in multiple-choice (MCQs) Our SUN 212-055 Exam will provide you with free 212-055 dumps questions with verified answers that reflect the actual exam. These questions and answers provide you with the experience of taking the actual test. High quality and Value for the 212-055 Exam:100% Guarantee to Pass Your SCJP
exam and get your SCJP
certification.

Free study guide
 
 
Exam : SUN 212-055
Title : Sun Certified Programmer for the Java 2 Platform.SE 5.0

1. 現有:
11. public static void parse(String str) {
12. try {
13. float f = Float.parseFloat(str);
14. } catch (NumberFormatException nfe) {
15. f = 0;
16. } finally {
17. System.out.println(f);
18. }
19. }
20. public static void main(String[] args) {
21. parse("invalid");
22. }
結果為何?
A. 0.0
B. 編譯失敗。
C. 在執行時期parse方法會丟出一個ParseException。
D. 在執行時期parse方法會丟出一個NumberFormatException。
Answer: B

2. 現有:
12. public class Wow {
13. public static void go(short n) {System.out.println("short");}
14. public static void go(Short n) {System.out.println("SHORT");}
15. public static void go(Long n) {System.out.println(" LONG");}
16. public static void main(String [] args) {
17. Short y = 6;
18. int z = 7;
19. go(y);
20. go(z);
21. }
22. }
結果為何?
A. short LONG
B. SHORT LONG
C. 編譯失敗。
D. 在執行時期丟出了一個例外。
Answer: C

3. 現有:
public class NamedCounter {
private final String name;
private int count;
public NamedCounter(String name) { this.name = name; }
public String getName() { return name; }
public void increment() { count++; }
public int getCount() { return count; }
public void reset() { count = 0; }
}
應該做哪三項修改,才能調整這個類別,以供多個執行緒安全地使用?(選擇三項。)
A. 用synchronized關鍵字宣告reset()
B. 用synchronized關鍵字宣告getName()
C. 用synchronized關鍵字宣告getCount()
D. 用synchronized關鍵字宣告建構元
E. 用synchronized關鍵字宣告increment()
Answer: ACE

4. 現有:
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: }
以及:
30: Hello c = new Hello(5);
31: System.out.println(c.title);
結果為何?
A. Hello
B. Hello World
C. 編譯失敗。
D. Hello World 5
E. 這個程式碼可以執行,但沒有輸出。
F. 在執行時期丟出了一個例外。
Answer: C

5. 現有:
11. class ClassA {}
12. class ClassB extends ClassA {}
13. class ClassC extends ClassA {}
以及:
21. ClassA p0 = new ClassA();
22. ClassB p1 = new ClassB();
23. ClassC p2 = new ClassC();
24. ClassA p3 = new ClassB();
25. ClassA p4 = new ClassC();
哪三項是正確的?(選擇三項。)
A. p0 = p1;
B. p1 = p2;
C. p2 = p4;
D. p2 = (ClassC)p1;
E. p1 = (ClassB)p3;
F. p2 = (ClassC)p4;
Answer: AEF

6. 現有:
1. interface DoStuff2 {
2. float getRange(int low, int high); }
3.
4. interface DoMore {
5. float getAvg(int a, int b, int c); }
6.
7. abstract class DoAbstract implements DoStuff2, DoMore { }
8.
9. class DoStuff implements DoStuff2 {
10. public float getRange(int x, int y) { return 3.14f; } }
11.
12. interface DoAll extends DoMore {
13. float getAvg(int a, int b, int c, int d); }
結果為何?
A. 檔案可以編譯,而沒有錯誤。
B. 編譯失敗。只有第7行有一個錯誤。
C. 編譯失敗。只有第12行有一個錯誤。
D. 編譯失敗。只有第13行有一個錯誤。
E. 編譯失敗。只有第7行與第12行有錯誤。
F. 編譯失敗。只有第7行與第13行有錯誤。
G. 編譯失敗。第7、12、與13行有錯誤。
Answer: A

7. 現有:
10. int x = 0;
11. int y = 10;
12. do {
13. y–;
14. ++x;
15. } while (x < 5);
16. System.out.print(x + "," + y);
結果為何?
A. 5,6
B. 5,5
C. 6,5
D. 6,6
Answer: B

8. 現有:
11. String test = "This is a test";
12. String[] tokens = test.split("s");
13. System.out.println(tokens.length);
結果為何?
A. 0
B. 1
C. 4
D. 編譯失敗。
E. 在執行時期丟出了一個例外。
Answer: D

.

The Popular Posts Of Certinside

Comments are closed.