Board logo

subject: 310-055 Study Materials [print this page]


Testinside 310-055 Exam will provide you with exam simulation questions and actual answers that reflect the actual exam. These Testinside 310-055 simulation questions and answers provide you with the experience of taking the test. Testinside 310-055 Exam is not just simulation questions and answers. They are your access to high technical expertise and accelerated learning capacity. Testinside 310-055 questions have detailed explanations for every answer and thus ensures that you fully understand the questions and the concept behind the questions.

Testinside even offers the 100% Money Back Guarantee for 310-055 Exam to help convey to you our confident in our SUN 310-055 Exam products. Testinside 310-055 Exam can guarantee that combined with proper effort and 310-055 Exam preparation methods, our 310-055 Exam modules will certainly boost your chance of passing the 310-055 Exam. We are strongly confident that you will pass your 310-055 Exam the first time.

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: 2010-12-22

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

Our Testinside SUN 310-055 Questions and Answers are even more difficult than the 310-055 actual test.With the help of the Testinside 310-055 study materials and guidance of SUN certification 310-055 exam, you can pass your SUN certification 310-055 exam in your first attempt.

Persons looking for technological certification use a variety of techniques to get prepared for examinations. 310-055 certified individuals have shared the techniques they have engaged towards the objective of certification. Professionals interviewed noted chiefly the use Testinside 310-055 study materials and practice exams.

Hot Exams:

640-802 Cisco Certified Network Associate

642-813 implementing cisco switched networks

by: testinside000032




welcome to loan (http://www.yloan.com/) Powered by Discuz! 5.5.0