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 (17)
CIW (15)
Compaq (0)
CompTIA (51)
CWNA (2)
EMC (2)
Exin (4)
GEJOS (4)
HDI (1)
HP (4)
IBM (13)
Juniper (1)
Linux Prof Institute (LPI) (2)
Lotus (11)
Microsoft (2461)
Network Appliance (2)
Novell (16)
Oracle (413)
PLSQL (1)
PMI (4)
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
#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?

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

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

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

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

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

#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?

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

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

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

#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)

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

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

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

#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?

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

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

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

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

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.158 Server date 06:38 02-12-2008 Developed by Zip © 2006 Up ^
Forum
Start online exam simulation
Master braindump
User braindumps