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-035: Sun Certified Programmer for Java 2 Platform 1.4
#81. Given:
  1. 1. public class Outer{
  2. 2. public void someOuterMethod() {
  3. 3. // Line 3
  4. 4. }
  5. 5. public class Inner{}
  6. 6. public static void main( String[]argv ) {
  7. 7. Outer o = new Outer();
  8. 8. // Line 8
  9. 9. }
  10. 10. }
Which instantiates an instance of Inner?

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

#82. What allows the programmer to destroy an object x?

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

#83. Given:
  1. 11. int x = 1, y =6;
  2. 12. while (y--) {
  3. 13. x++;
  4. 14. }
  5. 15. System.out.println(“x =” + x + “y =” +y);
What is the result?

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

#84. Given:
  1. 12. float f[][][] = new float[3][][];
  2. 13. float f0 = 1.0f;
  3. 14. float[][] farray = new float[1][1];
What is valid?

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

#85. Given:
  1. 11. for (int i =0; i < 4; i +=2) {
  2. 12. System.out.print(i + “”);
  3. 13. }
  4. 14. System.out.println(i);
What is the result?

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

#86. Given:
  1. 12. void start() {
  2. 13. A a = new A();
  3. 14. B b = new B();
  4. 15. a.s(b);
  5. 16. b = null;
  6. 17. a = null;
  7. 18. System.out.println(“start completed”);
  8. 19. }
When is the B object, created in line 14, eligible for garbage collection?

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

#87. Given:
  1. 1. public class Exception Test {
  2. 2. class TestException extends Exception {}
  3. 3. public void runTest() throws TestException {}
  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

#88. Given:
  1. 11. int i = 0;
  2. 12. while (true) {
  3. 13. if(i==4) {
  4. 14. break;
  5. 15. }
  6. 16. ++i;
  7. 17. }
  8. 18. System.out.println(“i=”+i);
What is the result?

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

#89. Given:
  1. 11. try {
  2. 12. int x = 0;
  3. 13. int y = 5 / x;
  4. 14. } catch (Exception e) {
  5. 15. System.out.println(Exception);
  6. 16. } catch (ArithmeticException ae) {
  7. 17. System.out.println(“Arithmetic Exception);
  8. 18. }
  9. 19. System.out.println(“finished”);
What is the result?

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

#90. Given:
  1. 1. public class Test { }
What is the prototype of the default constructor?

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


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