310-065 questions


Warning: strip_tags() expects parameter 1 to be string, array given in /home/inside24/public_html/wp-includes/formatting.php on line 631

310-065 Exam
Sun Certified Programmer for the Java 2 Platform. SE6.0
Exam Number/Code : 310-065
Exam Name : Sun Certified Programmer for the Java 2 Platform. SE6.0
Questions and Answers : 207 Q&As
Update Time: 2010-12-29

Sure you can use other free SUN Other Certifications Certification materials and free SUN SUN Other Certifications Certification study guide resources, but only test-inside.com delivers you the most accurate, current and updated SUN Other Certifications certification course available with a 100% Pass Guarantee!

Exam : SUN 310-065
Title : Sun Certified Programmer for the Java 2 Platform. SE 6.0
1. x = i+y;
6. System.out.println(x);
7. }
8. public static void main(String[] args) {
9. new Boxer1(new Integer(4));
10. }
11. }
What is the result?
A. The value “4″ is printed at the command line.
B. Compilation fails because of an error in line 5.
C. Compilation fails because of an error in line 9.
D. A NullPointerException occurs at runtime.
E. A NumberFormatException occurs at runtime.
F. An IllegalStateException occurs at runtime.
Answer: D
2. Given:
11. public class Test {
12. public enum Dogs {collie, harrier, shepherd};
13. public static void main(String [] args) {
14. Dogs myDog = Dogs.shepherd;
15. switch (myDog) {
16. case collie:
17. System.out.print(”collie “);
18. case default:
19. System.out.print(”retriever “);
20. case harrier:
21. System.out.print(”harrier “);
22. }
23. }
24. }
What is the result?
A. harrier
B. shepherd
C. retriever
D. Compilation fails.
E. retriever harrier
F. An exception is thrown at runtime.
Answer: D
3. Given:
31. // some code here
32. try {
33. // some code here
34. } catch (SomeException se) {
35. // some code here
36. } finally {
37. // some code here
38. }
Under which three circumstances will the code on line 37 be executed? (Choose three.)
A. The instance gets garbage collected.
B. The code on line 33 throws an exception.
C. The code on line 35 throws an exception.
D. The code on line 31 throws an exception.
E. The code on line 33 executes successfully.
Answer: BCE

TestInside Engine FeaturesQuality and Value for the 310-065 Exam
TestInside Practice Exams for Sun SCJP 310-065 are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development.

Hot Exams:
642-813  Implementing Cisco Switched Networks
SY0-201  CompTIA Security+(2008 Edition) Exam

 

  • Share/Bookmark

Related posts:

  1. 310-065 Practice Exam The SUN 310-065 simulation exam is a compilation of the...

Related posts brought to you by Yet Another Related Posts Plugin.

Tags:

categories SUN

Examsoon Hiexam Hiexam Hiexam Hiexam Exam4test Exam4test Exam4dumps Exam4dumps Exam4dumps Testinside Visualexams