Other 310-055 Exams :
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-03-30
- Price:
$ 112.00$ 99.00
Free 310-055 Demo Download
pass999.info 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
310-055 Exam Description
It is well known that latest 310-055 exam test is the hot exam of SUN certification. pass999.info 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!
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
What's pass999.info and what pass999.info can do?
pass999.info provides high quality IT exam practice questions and answers. Especially, Cisco CCNA CCDA CCNP CCIE, Checkpoint CCSE, CompTIA A+ Network+ certification practice exams and so on. We promise that you can pass any IT exam at the first try using pass999.info Testing Engine, or else give you a FULL REFUND. In pass999.info, you also can find latest exam releases about real certification exam resources from most famous IT companies, and we recommend some hot exams for you.
About SUN 310-055 exam
There are many ways to prepare for your 310-055 Certification Exam. pass999.info provides the most reliable training tools to prepare for your next 310-055 Certification Exam. Our 310-055 Certification Study Material includes 310-055 test questions, 310-055 practice exam, 310-055 Practice Testing Software, 310-055 Audio Learning and Preparation Labs. We will meet the needs of all about IT certification in pass999.info.
The 310-055 test questions give you possibility to work in any country of the world because they are acknowledged in all countries equally. This pass999.info 310-055 torrent certificate helps not only to improve your knowledge and skills, but it also helps your career, gives a possibility for qualified usage of pass999.info 310-055 exam products under different conditions.
Once you purchase our 310-055 PDF,we will offer you the best service.After you purchase we will offer free update in time for 90 days.No matter any questions you have we will help you solve it. And in 3 weeks we will offer you free updates,so please pay attention our site at all times.
