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-080: Sun Certified Web Component Developer for the Java 2 Platform, Enterprise Edition 1.3
#101. Given:
  1. 1. class Test{
  2. 2. private Demo d;
  3. 3. void start(){
  4. 4. d=new Demo();
  5. 5. this.takeDemo(d);
  6. 6. }
  7. 7.
  8. 8. void takeDemo(Demo demo){
  9. 9. demo=null;
  10. 10. demo=new Demo();
  11. 11. }
  12. 12. }
When is the Demo object created on line 4, eligible for garbage collection?

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

#102. Given:
  1. 11. Float f=new Float(12);
  2. 12. switch(f){
  3. 13. case 12:System.out.println(“Twelve”);
  4. 14. case 0:System.out.println(“Zero”);
  5. 15. default: System.out.println(Default);
  6. 16. }
What is the result?

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

#103. Which four can be thrown using the show statement? (Choose four)

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

#104. Which statement is true?

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

#105. Given:
  1. 1. public class Examsheets{
  2. 2. static String s;
  3. 3. public static void main(String[]args){
  4. 4. System.out.println(“s=”+s);
  5. 5. }
  6. 6. }
What is the result?

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

#106. Given:
  1. 11. public void test(int x){
  2. 12. int odd=x%2;
  3. 13. if(odd){
  4. 14. System.out.println(“odd”);
  5. 15. }else{
  6. 16. System.out.println(“even”);
  7. 17. }
  8. 18. }
What statement is true?

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

#107. Given:
  1. 1. public class ExceptionTest{
  2. 2. class TestException extends Exception{}
  3. 3. public void runTest()throws TestExcpetion{}
  4. 4. public void test()/*Point X*/{
  5. 5. runTest();
  6. 6. }
  7. 7. }
At Point X on line 4, which code is necessary to make the code compile?

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

#108. Which item provides tools to allow the formatting of currency and date information according to local conventions?

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

#109. Given:
  1. 1. public class Test{
  2. 2. public static void main(String[]args){
  3. 3. int x=0;
  4. 4. assert(x>0)?”assertion failed”:”assertion failed”;
  5. 5. System.out.println(“Finished”);
  6. 6. }
  7. 7. }
What is the result?

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

#110. Given:
  1. 1. public class X{
  2. 2. public static void main(String[]args){
  3. 3. try{
  4. 4. badMethod();
  5. 5. System.out.print(“A”);
  6. 6. }
  7. 7. catch(Exception ex){
  8. 8. System.out.print(“B”);
  9. 9. }
  10. 10. finally{
  11. 11. System.out.print(“C”);
  12. 12. }
  13. 13. Sytstem.out.print(“D”);
  14. 14. }
  15. 15. public static void badMethod(){
  16. 16. throw new RuntimeException();
  17. 17. }
  18. 18. }
What is the result?

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


  [1] ...  [11] [12] [13] [14] [15] [16]
Up ^ gen. 0.208 Server date 05:47 10-01-2009 Developed by Zip © 2006 Up ^
Forum
Start online exam simulation
Master braindump