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-025: Sun Certified Java Programmer
#21. Given:
  1. 1. public class returnIt (
  2. 2. returnType methodA(byte x, double y) (
  3. 3. return (short) x/y * 2;
  4. 4. )
  5. 5. )
What is the valid returnType for methodA in line 2?

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

#22. Given the ActionEvent, which method allows you to identify the affected component?

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

#23. Which is a method of the MouseMotionListener interface?

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

#24. Exhibit:
  1. 1. import java.awt*;
  2. 2.
  3. 3. public class X extends Frame (
  4. 4. public static void main(string []args) (
  5. 5. X x = new X ();
  6. 6. X.pack();
  7. 7. x.setVisible(true);
  8. 8. )
  9. 9.
  10. 10. public X () (
  11. 11. setlayout (new GridLayout (2,2));
  12. 12.
  13. 13. Panel p1 = new panel();
  14. 14. Add(p1);
  15. 15. Button b1= new Button (“One”);
  16. 16. P1.add(b1);
  17. 17.
  18. 18. Panel p2 = new panel();
  19. 19. Add(p2);
  20. 20. Button b2= new Button (“Two”);
  21. 21. P2.add(b2);
  22. 22.
  23. 23. Button b3= new Button (“Three”);
  24. 24. add(b3);
  25. 25.
  26. 26. Button b4= new Button (“Four”);
  27. 27. add(b4);
  28. 28. )
  29. 29. )
Which two statements are true? (Choose Two)

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

#25. You are assigned the task of building a panel containing a TextArea at the top, a label directly below it, and a button directly below the label. If the three components are added directly to the panel. Which layout manager can the panel use to ensure that the TextArea absorbs all of the free vertical space when the panel is resized?

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

#26. Which gets the name of the parent directory file “file.txt ”?

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

#27. Which can be used to encode charS for output?

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

#28. The file “file.txt” exists on the file system and contsins ASCII text.
Given:
  1. 38. try {
  2. 39. File f = new File(“file.txt);
  3. 40. OutputStream out = new FileOutputStream(f, true);
  4. 41. }
  5. 42. catch (IOException) {}
What is the result?

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

#29. Which constructs a DataOutputStream?

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

#30. What writes the text “<end>” to the end of the file “file.txt”?

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


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