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-081: Sun Certified Web Component Developer for the Java 2 Platform, Enterprise Edition 1.4
#61. Given:
  1. 1. public class Foo {
  2. 2. public static void main(String[] args) {
  3. 3. String Buffer a = new StringBuffer (“A”);
  4. 4. String Buffer b – new StringBuffer (“B”);
  5. 5. operate (a, b);
  6. 6. System.out.printIn(a+ “,” + b);
  7. 7. }
  8. 8. Static void operate(StringBuffer x. String Buffer y) {
  9. 9. X.append(y);
  10. 10. y = x;
  11. 11. }
  12. 12. }
What is the result?

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

#62. Given:
  1. Integer i = new Integer (42);
  2. Long l = new Long (42);
  3. Double d = new Double (42.0);
Which two expression evaluate to true? (Choose two.)

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

#63. What is the numerical range of char?

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

#64. Given:
  1. 1. public class Test {
  2. 2. public static void main (String [] args){
  3. 3. String foo = args [1];
  4. 4. String bar = args [2];
  5. 5. String baz = args [3];
  6. 6. System.out.printIn(“baz=”+baz):
  7. 7. }
  8. 8. }
and the output:
baz = 2
Which command line invocation will produce the output?

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

#65. Given:
  1. 1. public interface Foo {
  2. 2. int k = 4:
  3. 3. }
Which three are equivalent to line 2? (Choose three)

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

#66. Given
  1. 1. public class Foo {
  2. 2. public static void main (String [] args) }
  3. 3. try { return;}
  4. 4. finally { Syste.out.printIn (Finally);}
  5. 5. }
  6. 6. }
What is the result?

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

#67.
  1. 11. public class Iterate Handler extends Body Tag Support {
  2. 12. private Collection c:
  3. 13. private Iteator it:
  4. 14. public void set Coll (Collection c) {this.c + c;}
  5. 15. public int do Start Tag () throws Jsp Exception {
  6. 16. // insert code here
  7. 17. }
  8. 18. public void dolnit Body () throws Jsp Exception {
  9. 19. it = c. iterator ():
  10. 20. page Context.set Attribute (“item” it.next());
  11. 21. }
  12. 22. public int do After Body () throuws Jsp Exception {
  13. 23. if (it. Has Next ()){
  14. 24. page Context.set Attribute (“item”, it.next ());
  15. 25. // insert code here
  16. 26. } else {
  17. 27. try {
  18. 28. get Body Content (). Write Out (get Previous Out ());
  19. 29. } catch (Exception e) {}
  20. 30. // insert code here
  21. 31. }
  22. 32. }
  23. 33. }
Given that the loop tag properly iterates over Collection assigned to its cool attribute.
  1. <mx: loop coll = <% = a Collection %> >
  2. <jsp: use Bean id= “item” scope =” page class = “java. Lang. String”/>
  3. </mx:loop>
Which additions needs to be made to the Iterate Handler class for it to properly perform as the tag handler for the loop tag.?

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

#68. For a given Servlet Response response, which retrieves an object for writing binary data? (Choose two)

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

#69. Which HTTP method has the characteristic that multiple indential requests may produce side effect beyond those of a single request?

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

#70. Which three are valid URL mappings to a servlet in a web deployment descriptor? (Choose three.)

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


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