ultraexam.net offers incredible career enhancing opportunities. We are a team of IT professionals that focus on providing our customers with the most up to date material for any IT certification exam. This material is so effective that we Guarantee you will pass the exam or your money back.
310-055 Exam
Sun Certified Programmer for the Java 2 Platform.SE 5.0
- Exam Number/Code : 310-055
- Exam Name : Sun Certified Programmer for the Java 2 Platform.SE 5.0
- Questions and Answers : 165 Q&As
- Update Time: 2011-10-24
- Testing Engine (SoftWare Version): $ 59.00
- PDF (Printable Version) Price: $15.00
Note: After purchase, we will send questions within 24 hours.
Free 310-055 Demo Download
ultraexam offers free demo for SCJP 310-055 exam (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.
Download 310-055 Exam Testing Engine
Exam Description
It is well known that 310-055 examtest is the hot exam of SUN certification. ultraexam offer you all the Q&A of the 310-055 real test . It is the examination of the perfect combination and it will help you pass 310-055 exam at the first time!
Why choose ultraexam 310-055 braindumps
Quality and Value for the 310-055 Exam
100% Guarantee to Pass Your 310-055 Exam
Downloadable, Interactive 310-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.
ultraexam 310-055 Exam Features
Quality and Value for the 310-055 Exam
ultraexam Practice Exams for SUN 310-055 are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development.
100% Guarantee to Pass Your 310-055 Exam
SUN 310-055 Downloadable
310-055 Downloadable, Interactive Testing engines
Ultraexam.com 310-055 free web demo:
Exam : SUN 310-055
Title : Sun Certified Programmer for the Java 2 Platform.SE 5.0
1. Which two statements are true? (Choose two.)
A. An encapsulated, public class promotes re-use.
B. Classes that share the same interface are always tightly encapsulated.
C. An encapsulated class allows subclasses to overload methods, but does NOT allow overriding methods.
D. An encapsulated class allows a programmer to change an implementation without affecting outside code.
Answer: AD
2. Given:
11. String test = "a1b2c3";
12. String[] tokens = test.split("d");
13. for(String s: tokens) System.out.print(s + " ");
What is the result?
A. a b c
B. 1 2 3
C. a1b2c3
D. a1 b2 c3
E. Compilation fails.
F. The code runs with no output.
G. An exception is thrown at runtime.
Answer: A
3. Given:
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. }
What is the result?
A. 3, 2, 1,
B. 1, 2, 3,
C. Compilation fails.
D. The code runs with no output.
E. An exception is thrown at runtime.
Answer: C
4. Click the Exhibit button.
1. public class SimpleCalc {
2. public int value;
3. public void calculate() { value += 7; }
4. }
And:
1. public class MultiCalc extends SimpleCalc{
2. public void calculate() { value -= 3; }
3. public void calculate(int multiplier) {
4. calculate();
5. super.calculate();
6. value *= multiplier;
7. }
8. public static void main(String[] args) {
9. MultiCalc calculator = new MultiCalc();
10. calculator.calculate(2);
11. System.out.println("Value is: " + calculator.value);
12. }
13. }
What is the result?
A. Value is: 8
B. Compilation fails.
C. Value is: 12
D. Value is: -12
E. The code runs with no output.
F. An exception is thrown at runtime.
Answer: A
5. Click the Exhibit button.
10. public class ClassA {
11. public void methodA() {
12. ClassB classB = new ClassB();
13. classB.getValue();
14. }
15. }
And:
20. class ClassB {
21. public ClassC classC;
22.
23. public String getValue() {
24. return classC.getValue();
25. }
26. }
And:
30. class ClassC {
31. public String value;
32.
33. public String getValue() {
34. value = "ClassB";
35. return value;
36. }
37. }
Given:
ClassA a = new ClassA();
a.methodA();
What is the result?
A. Compilation fails.
B. ClassC is displayed.
C. The code runs with no output.
D. An exception is thrown at runtime.
Answer: D

