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
#21. Given an HttpServlet Request request and Http Servlet Response response, which sets a cookie “username” with the value “joe” in a servlet.?

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

#22. Given:
  1. 10. public void service Servlet Request request.
  2. 11. Servlet Response response) {
  3. 12. ServletInput Stream sis=
  4. 13. //insert code here
  5. 14. }
Which retrieves the binary input stream on line 13?

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

#23. index.html:
  1. 16. <from method = “GET” action = “MyServlet”>
  2. 17. <input type= “text” name+ “foo”>
  3. 18. <input type= “text” name = “foo”>
  4. 19. <input type = “submit”>
  5. 20. </from>

MyServlet.java:
  1. 6. public void doGet (Http ServletRequest request.
  2. 7. HttpServletREsponseresponse_
  3. 8. throws IOException. ServletExecption {
  4. 9. String first = request.getParameter )”foo”);
  5. 10. String second:
  6. 11. // your code here
  7. 12 }
Which statement inserted at line II, retrieves the text from the second text field?

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

#24. Which HTTP method represents a request for information about the supported methods on an HTTP server?

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

#25. Under what two circumstances is the set JspBody method NOT called in a tag class that implements the Simple Tag interface? (Choose two)

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

#26. Which two statements are true? (Choose two.)

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

#27. Which statements about static inner classes is true?

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

#28. Given:
  1. 1. public class MethodOver {
  2. 2. private int x,y:
  3. 3. private float z:
  4. 4. public vod set var (int a, int b, float c) {
  5. 5. x = a;
  6. 6. y = b;
  7. 7. z = c;
  8. 8. }
  9. 9. }
Which two overload the setVar method? (Choose two.)

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

#29. Which two demonstrate an “is a” relationship? (Choose two.)

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

#30. Given:
  1. 1. public class Test {
  2. 2. public static void leftShift(in i int j) {
  3. 3. i <<=j;
  4. 4. }
  5. 5. public static void main (String args []) {
  6. 6. int I = 4, j =2;
  7. 7. leftShift (i.j);
  8. 8. System.out.printIn(i);
  9. 9. }
  10. 10. }
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] ... [24 
Up ^ gen. 0.151 Server date 06:17 10-01-2009 Developed by Zip © 2006 Up ^
Forum
Start online exam simulation
Master braindump
User braindumps