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
#41. Given:
  1. 1. public class X (
  2. 2. public object m () {
  3. 3. object o = new float (3.14F);
  4. 4. object [] oa = new object [1];
  5. 5. oa[0]= o;
  6. 6. o = null;
  7. 7. return oa[0];
  8. 8. }
  9. 9. }
When is the float object created in line 3,eligible for garbage collection?

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

#42. Which method is an appropriate way to determine the cosine of 42 degrees?

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

#43. You need to store elements in a collection that guarantees that no duplicates are stored and all elements can be accessed in natural order. Which interface provides that capability?

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

#44. Which statement is true for the class java.util.HashSet?

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

#45. Given:
  1. 1. public class IfTest (
  2. 2. public static void main(string[]args) {
  3. 3. int x = 3;
  4. 4. int y = 1;
  5. 5. if (x = y)
  6. 6. system.out.printIn(“Not equal”);
  7. 7. else
  8. 8. system.out.printIn(“Equal”);
  9. 9. }
  10. 10. )
What is the result?

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

#46. Exhibit:
  1. 1. public class test (
  2. 2. public static void main(string args[]) {
  3. 3. int 1= 0;
  4. 4. while (i) {
  5. 5. if (i==4) {
  6. 6. break;
  7. 7. )
  8. 8. ++i;
  9. 9. )
  10. 10.
  11. 11. )
  12. 12. )
What is the value of i at line 10?

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

#47. Given:
  1. 3. int i= 1, j= 10 ;
  2. 4. do (
  3. 5. if (i++> --j) continue;
  4. 6. ) while (i<5);
After execution, what are the values for I and j?

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

#48. Given:
  1. 1. switch (i) {
  2. 2. default:
  3. 3. System.out.printIn(“Hello”);
  4. 4. )
What are the two acceptable types for the variable i? (Choose Two)

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

#49. Given:
  1. 1. public class foo {
  2. 2. public static void main (string[]args)
  3. 3. try {return;}
  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

#50. Exhibit:
  1. 1. import java.io.IOException;
  2. 2. public class ExceptionTest(
  3. 3. public static void main (String[]args)
  4. 4. try (
  5. 5. methodA();
  6. 6. ) catch (IOException e) (
  7. 7. system.out.printIn(“Caught IOException);
  8. 8. ) catch (Exception e) (
  9. 9. system.out.printIn(“Caught Exception);
  10. 10. )
  11. 11. )
  12. 12. public void methodA () {
  13. 13. throw new IOException ();
  14. 14. )
  15. 15. )
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] ... [16 
Up ^ gen. 0.17 Server date 06:32 10-01-2009 Developed by Zip © 2006 Up ^
Forum
Start online exam simulation
Master braindump
User braindumps