English Русский Contacts Site map Add to favorites
Registration
Login
Master braindump list
New braindumps
Submit a dump
Get latest dump
braindumps.com.ua
flame
3COM (7)
Adobe (1)
BEA (1)
Checkpoint (22)
Cisco (20)
Citrix (21)
CIW (15)
Compaq (0)
CompTIA (51)
CWNA (2)
EMC (2)
Exin (4)
GEJOS (4)
HDI (1)
HP (4)
IBM (13)
Juniper (5)
Linux Prof Institute (LPI) (2)
Lotus (11)
Microsoft (2462)
Network Appliance (2)
Novell (16)
Oracle (423)
PLSQL (1)
PMI (5)
SAS (1)
Sun (87)
Teradata (4)
Login:
Password:
RSS feed

Contacts
Certification links
Links
Authorized user can see question and answers.
Please log in or sign up.

Exam question list:
Show all comments
Sun 310-056: Sun Certified Programmer for J2SE 5.0 Upgrade Exam
#61. A programmer has an algorithm that requires a java.util.List that provides an efficient implementation of add(o, object), but does NOT need to support quick random access. What supports these requirements?

Show comments for this question (0)
Add comments
Link to this question

#62. Given:
  1. 1. public interface A {
  2. 2. public void doSomething(String thing);
  3. 3. }
  4. 1. public class AImpl implements A
  5. 2. public void doSomething(String msg) { }
  6. 3. }
  7. 1. public class B {
  8. 2. public A doit( ) {
  9. 3. // more code here
  10. 4. }
  11. 5.
  12. 6. public String execute() {
  13. 7. // more code here
  14. 8. }
  15. 9. }
  16. 1. public class C extends B {
  17. 2. public AImpI doit() {
  18. 3. // more code here
  19. 4. }
  20. 5.
  21. 6. public Object execute() {
  22. 7. // more code here
  23. 8. }
  24. 9. }
Which statement is true about the classes and interfaces in the exhibit?

Show comments for this question (0)
Add comments
Link to this question

#63. A JavaBeans component has the following field:
  1. 10. private boolean enabled;
Which two pairs of method declarations follow the JavaBeans standard for accessing this field? (Choose two.)

Show comments for this question (0)
Add comments
Link to this question

#64. Given:
  1. 10. package com.sun.scjp;
  2. 11. public class Geodetics
  3. 12. public static final double DIAMETER = 12756.32; // kilometers
  4. 13. }
Which two correctly access the DIAMETER member of the Geodetics class? (Choose two.)

Show comments for this question (0)
Add comments
Link to this question

#65. Given:
  1. 35. String #name = “Jane Doe”;
  2. 36. int $age = 24;
  3. 37. Double _height = 123.5;
  4. 38. double ~temp = 37.5;
Which two statements are true? (Choose two.)

Show comments for this question (0)
Add comments
Link to this question

#66. Given:
  1. 10. class Line
  2. 11. public static class Point 9
  3. 12. }
  4. 13.
  5. 14. class Triangle {
  6. 15. // insert code here
  7. 16. }
Which code, inserted at line 15, creates an instance of the Point class defined in Line?

Show comments for this question (0)
Add comments
Link to this question

#67. Which two code fragments correctly create and initialize a static array of mt elements? (Choose two.)

Show comments for this question (0)
Add comments
Link to this question

#68. Given:
  1. 10. class Line {
  2. 11. public class Point { public mt x,y;}
  3. 12. public Point getPoint() { return new Point();
  4. 13. }
  5. 14. class Triangle {
  6. 15. public Triangle() {
  7. 16. / /insert code here
  8. 17. }
  9. 18. }
Which code. inserted at line 16, correctly retrieves a local instance of a Point object?

Show comments for this question (0)
Add comments
Link to this question

#69. Given:
  1. 10. interface Foo { int bar(); }
  2. 11. public class Sprite {
  3. 12. public inttubar( Foo foo ) (return foo.bar(); }
  4. 13. public void testFoo() {
  5. 14. fubar(
  6. 15. //insert code here
  7. 16. );
  8. 17. }
  9. 18. }
Which code, inserted at line 15, allows the class Sprite to compile?

Show comments for this question (0)
Add comments
Link to this question

#70. Assuming that the serializeBanana() and the deserializeBanana() methods will correctly use Java serialization and given:
  1. 13. import java .io.*;
  2. 14. class Food implements Serializable {int good = 3;}
  3. 15. class Fruit extends Food {int juice = 5;}
  4. 16. public class Banana extends Fruit {
  5. 17. int yellow = 4;
  6. 18. public static void main(String [] args) {
  7. 19. Banana b = new Banana(); Banana b2 = new Banana();
  8. 20. b.serializeBanana(b); // assume correct serialization
  9. 21. b2 = b.deserializeBanana(); // assume correct
  10. 22. System.out.println(”restore “+b2.yellow+ b2.juice+b2 good);
  11. 24. }
  12. 25. // more Banana methods go here 50.}
What is the result?

Show comments for this question (0)
Add comments
Link to this question


 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] ... [12 
Up ^ gen. 0.251 Server date 05:33 10-01-2009 Developed by Zip © 2006 Up ^
Forum
Start online exam simulation
Master braindump