Exam Number/Code: 310-065Big5
Exam Name: Sun Certified Programmer for the Java 2 Platform. SE6.0
Language(s): English
Price: $ 99.00
Questons and Answers : 270 Q&As
Updated: 2011-03-30
Buy it please click 310-065Big5
It is well known that SCJP 310-065Big5 - 310-065Big5 exam test is the hot exam of SUN certification. pass4line offer you all the Q&A of the 310-065Big5 real test . It is the examination of the perfect combination and it will help you pass 310-065Big5 exam at the first time!
The SCJP 310-065Big5 Questions and Answers as well as our other SCJP 310-065Big5 exam training tools are not only priced to be easy on your budget - but each one is also backed with our guarantee. pass4line guarantees that after using our Cisco certification training tools, you will be prepared to take and pass your SCJP 310-065Big5 exam.
Exam : SUN 310-065Big5
Title : Sun Certified Programmer for the Java 2 Platform, SE 6.0
1. System.out.println(s);
6. }
7. }
將以下哪兩個程式碼片段個別插入第 3 行後,會輸出 4247?(請選擇兩個答案。)
A. String s = "123456789";
s = (s-"123").replace(1,3,"24") - "89";
B. StringBuffer s = new StringBuffer("123456789");
s.delete(0,3).replace(1,3,"24").delete(4,6);
C. StringBuffer s = new StringBuffer("123456789");
s.substring(3,6).delete(1,3).insert(1, "24");
D. StringBuilder s = new StringBuilder("123456789");
s.substring(3,6).delete(1,2).insert(1, "24");
E. StringBuilder s = new StringBuilder("123456789");
s.delete(0,3).delete(1,3).delete(2,5).insert(1, "24");
Answer: BE
2. 已知:
35. String #name = "Jane Doe";
36. int $age = 24;
37. Double _height = 123.5;
38. double ~temp = 37.5;
以下敘述哪兩個正確?(請選擇兩個答案。)
A. 第 35 行無法編譯。
B. 第 36 行無法編譯。
C. 第 37 行無法編譯。
D. 第 38 行無法編譯。
Answer: AD
3. 已知:
11. public static Iterator reverse(List list) {
12. Collections.reverse(list);
13. return list.iterator();
14. }
15. public static void main(String[] args) {
16. List list = new ArrayList();
17. list.add("1"); list.add("2"); list.add("3");
18. for (Object obj: reverse(list))
19. System.out.print(obj + ", ");
20. }
結果為何?
A. 3, 2, 1,
B. 1, 2, 3,
C. 編譯失敗。
D. 程式碼順利執行,但沒有輸出。
E. 執行階段丟出異常。
Answer: C
4. 已知:
1. public class TestString3 {
2. public static void main(String[] args) {
3. // insert code here
5. System.out.println(s);
6. }
7. }
將以下哪兩個程式碼片段個別插入第 3 行後,會輸出 4247?(請選擇兩個答案。)
A. String s = "123456789";
s = (s-"123").replace(1,3,"24") - "89";
B. StringBuffer s = new StringBuffer("123456789");
s.delete(0,3).replace(1,3,"24").delete(4,6);
C. StringBuffer s = new StringBuffer("123456789");
s.substring(3,6).delete(1,3).insert(1, "24");
D. StringBuilder s = new StringBuilder("123456789");
s.substring(3,6).delete(1,2).insert(1, "24");
E. StringBuilder s = new StringBuilder("123456789");
s.delete(0,3).delete(1,3).delete(2,5).insert(1, "24");
Answer: BE
5. 已知:
5. class A {
6. void foo() throws Exception { throw new Exception(); }
7. }
8. class SubB2 extends A {
9. void foo() { System.out.println("B "); }
10. }
11. class Tester {
12. public static void main(String[] args) {
13. A a = new SubB2();
14. a.foo();
15. }
16. }
結果為何?
A. B
B. B,後面是 Exception。
C. 編譯會失敗,因為第 9 行有錯誤。
D. 編譯會失敗,因為第 14 行有錯誤。
E. 丟出 Exception,沒有其他輸出。
Answer: D
Our on-site online training experts create all of the SUN 310-065Big5 exam products available through pass4line. 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 pass4line 310-065Big5 braindumps
Quality and Value for the 310-065Big5 Exam
100% Guarantee to Pass Your 310-065Big5 Exam
Downloadable, Interactive 310-065Big5 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.