f
examsoon@hotmail.com
Exam Number/Code: 310-055Big5
Exam Name: Sun Certified Programmer for the Java 2 Platform.SE 5.0
Language(s): English
Price: $ 58.00
Questons and Answers : 259 Q&As
Updated: 2010-08-19
Buy it please click 310-055Big5
It is well known that SCJP 310-055Big5 - 310-055Big5 exam test is the hot exam of SUN certification. pass4onside offer you all the Q&A of the 310-055Big5 real test . It is the examination of the perfect combination and it will help you pass 310-055Big5 exam at the first time!
The SCJP 310-055Big5 Questions and Answers as well as our other SCJP 310-055Big5 exam training tools are not only priced to be easy on your budget - but each one is also backed with our guarantee. pass4onside guarantees that after using our Cisco certification training tools, you will be prepared to take and pass your SCJP 310-055Big5 exam.
Exam : SUN 310-055Big5
Title : Sun Certified Programmer for the Java 2 Platform.SE 5.0
1. 現有:
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
2. 現有:
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
3. 現有:
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
4. 現有:
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
5. 現有:
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
6. 現有:
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
Our on-site online training experts create all of the SUN 310-055Big5 exam products available through pass4onside. Our main goal is to get your certified with a firm understanding of the core material. Whereas other online distributors only concern themselves with helping you obtain the paper, we strive to educate the certification candidate and better prepare them for their IT career.
Why choose pass4onside 310-055Big5 braindumps
Quality and Value for the 310-055Big5 Exam
100% Guarantee to Pass Your 310-055Big5 Exam
Downloadable, Interactive 310-055Big5 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.