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
#91. You need to store elements in a collection that guarantees that no duplicates are stored. Which two interfaces provide that capability? (Choose Two)

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

#92. Which statement is true for the class java.util.ArrayList?

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

#93. Exhibit:
  1. 1. public class X implements Runnable(
  2. 2. private int x;
  3. 3. private int y;
  4. 4.
  5. 5. public static void main(String[]args)
  6. 6. X that = new X();
  7. 7. (new Thread(that)).start();
  8. 8. (new Thread(that)).start();
  9. 9. )
  10. 10.
  11. 11. public void run() (
  12. 12. for (;;) (
  13. 13. x++;
  14. 14. y++;
  15. 15. System.out.printIn(“x=” + x + “, y = ” + y);
  16. 16. )
  17. 17. )
  18. 18.)
What is the result?

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

#94. Given:
  1. 1. public class SyncTest {
  2. 2. private int x;
  3. 3. private int y;
  4. 4. public synchronized void setX (int i) (x=1;)
  5. 5. public synchronized void setY (int i) (y=1;)
  6. 6. public synchronized void setXY(int 1)(set X(i); setY(i);)
  7. 7. public synchronized Boolean check() (return x !=y;)
  8. 8. )
Under which conditions will check ()return true when called from a different class?

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

#95. Which is a method of the MouseMotionListener interface?

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

#96. Given:
  1. 1. public class Test {
  2. 2. public static void leftshift(int i, int j) {
  3. 3. i<<=j;
  4. 4. }
  5. 5. public static void main(String args[]) {
  6. 6. int i = 4, j = 2;
  7. 7. leftshift(i, j);
  8. 8. System.out.printIn(i);
  9. 9. }
  10. 10. }
What is the result?

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

#97. Which two valid declarations of a char? (Choose Two)

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

#98. Given:
  1. 1.String foo =“blue ”;
  2. 2.Boolean []bar =new Boolean [1 ];
  3. 3.if (bar [0 ]){
  4. 4.foo =“green ”;
  5. 5.}
What is the result?

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

#99. Exhibit:
  1. 1. public class X {
  2. 2. public static void main (String[]args) {
  3. 3. String s1 = new String (true);
  4. 4. Boolean b1 = new Boolean (true);
  5. 5. if (s2.equals(b1)) {
  6. 6. System.out.printIn(“Equal”);
  7. 7. }
  8. 8. }
  9. 9. }
What is the result?

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

#100. Given:
  1. 1. public class Foo {
  2. 2. public static void main (String []args) {
  3. 3. int i = 1;
  4. 4. int j = i++;
  5. 5. if ((i>++j) && (i++ ==j)) {
  6. 6. i +=j;
  7. 7. }
  8. 8. }
  9. 9. }
What is the final value of i?

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.187 Server date 06:35 10-01-2009 Developed by Zip © 2006 Up ^
Forum
Start online exam simulation
Master braindump
User braindumps