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
#11. Given:
  1. 1. public class Test {
  2. 2. public static void main (String [] args) {
  3. 3. unsigned byte b = 0;
  4. 4. b--:
  5. 5.
  6. 6. }
  7. 7. }
What is the value of b bat line 5?

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

#12. Given
  1. 1. public class Test {
  2. 2. public static void main (String[] args) {
  3. 3. String foo = args [0];
  4. 4. String bar = args [1];
  5. 5. String baz = args [2];
  6. 6. }
  7. 7. }
And command line is vacation:
Java Test red green blue
What is the Result?

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

#13. Given:
  1. 1. //Point X
  2. 2. public class Foo {
  3. 3. public static void main (String [] args) throws Exception {
  4. 4. Print Writer out = new Print Writer (new
  5. 5. java.io.Output Stream Writer (System.out), true);
  6. 6. out.printIn (“Hello”)
  7. 7. }
  8. 8. }
Which statement at Point X on line 1 allows this code to compile and run?

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

#14. Which two method declarations are valid for an interface.? (Choose two)

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

#15.
  1. 1. package foo;
  2. 2.
  3. 3. import java.util.Vector
  4. 4.
  5. 5. private class My Vector extends Vector {
  6. 6. Int i = 1
  7. 7. public MyVector () {
  8. 8. i = 2;
  9. 9. }
  10. 10. }
  11. 11.
  12. 12. public class My New Vector extends my Vector {
  13. 13. public MyNew Vector () {
  14. 14. i = 4;
  15. 15. }
  16. 16. public static void main (String args []) {
  17. 17. MyVector v = new My New Vector ();
  18. 18. }
  19. 19. }
What is the result?

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

#16. Which four types of object can be thrown using the throw statement? (Choose four.)

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

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

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

#18. Given:
  1. 1. Public class While Foo}
  2. 2. public static void main (Straing[] args) {
  3. 3. int x = I, y = 6
  4. 4. while ( y--) {x++:}
  5. 5. System, out. printIn (“x = “ + x + “ y = “ + y):
  6. 6. {
  7. 7. {
What is the result?

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

#19. Given:
  1. 6. <my Tag:foo bai = 42>
  2. 7. <%=” processing”%>
  3. 8. </my Tag.foo>
And a custom tag handler for foo which extends Tag Support. Which two are true about the tag handler referneed by my Tag. (Choose two.)

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

#20. Given
  1. 11. Public void services (Servlet Request request,
  2. 12. Servlet Response response)
  3. 13. throws 10 Exccption {
  4. 14. Servlet Context cxt = get Servlet Config ().get Servlet Context ():
  5. 15. Input Stream in =
  6. 16. insert code here
  7. 17. {
Which statement. At line 16, retrieves an Input Stream for the file / WEBINF/myresrc.bin?

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:19 10-01-2009 Developed by Zip © 2006 Up ^
Forum
Start online exam simulation
Master braindump
User braindumps