Contacts Site map Add to favorites Bookmark and Share
Registration
Login
Master braindump list
New braindumps
Submit a dump
Get latest dump
Introduce us
braindumps.com.ua
flame
3COM
Adobe
BEA
Checkpoint
Cisco
Citrix
CIW
Compaq
CompTIA
CWNA
EMC
Exin
GEJOS
HDI
HP
IBM
Juniper
Linux Prof Institute (LPI)
Lotus
Microsoft
Network Appliance
Novell
Oracle
PLSQL
PMI
SAS
Sun
Teradata
Login:
Password:
RSS feed

Contacts
Certification links
Links
Authorized user can see question and answers.
Please log in or sign up.
Help Braindumps.com.ua to be introduced.

Sun 310-025: Sun Certified Java Programmer

#1. Given:
  1. 1. public class Test {
  2. 2. public static void main (String [] args) {
  3. 3. string foo = “blue”;
  4. 4. string bar = foo;
  5. 5. foo = “green”;
  6. 6. System.out.printIn(bar);
  7. 7. }
  8. 8. }
What is the result?

#2. Which code determines the int value foo closest to a double value bar?

#3. Which two demonstrate encapsulation of data?(Choose Two)

#4. Exhibit:
  1. 1. class A {
  2. 2. public String toString () {
  3. 3. return4”;
  4. 4. }
  5. 5. }
  6. 6. class B extends A {
  7. 7. 8. public String toString () {
  8. 8. return super.toString() + “3”;
  9. 9. }
  10. 10. }
  11. 11. public class Test {
  12. 12. public static void main(String[]args) {
  13. 13. System.out.printIn(new B());
  14. 14. }
  15. 15.}
What is the result?

#5. Which two statements are true?(Choose Two)

#6. Given:
  1. 1. public class MethodOver {
  2. 2. private int x, y;
  3. 3. private float z;
  4. 4. public void setVar(int a, int b, float c){
  5. 5. x = a;
  6. 6. y = b;
  7. 7. z = c;
  8. 8. }
  9. 9. }
Which two overload the setVar method? (Choose Two)

#7. Which statements about static inner classes are true?(Choose Two)

#8. 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. oa[0] = null;
  8. 9. return o;
  9. 9. }
  10. 10. }
W hen is the float object created in line 3,eligible for garbage collection?

#9. Which two interfaces provide the capability to store objects using a key-value pair?(Choose Two)

#10. Which interface does java.util.Hashable implement?


 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] ... [16 
Up ^ gen. 0.148 Server date 23:33 15-03-2010 Developed by Zip © 2006 Up ^
310-025 certification
310-025 simulation
310-025 master dump
310-025 user dumps
310-025 forum