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-019: Sun Certified Associate for the Java Platform, Standard Edition
#61. Which three are valid? (Choose three.)

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

#62. Which three compile without error? (Choose three.)

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

#63. Which two compile without error? (Choose two.)

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

#64. Given:
  1. 1. public enum Color { RED, YELLOW, GREEN }
  2. 2. enum Fruit {
  3. 3. Banana(Color.RED),
  4. 4. Apple(Color.YELLOW),
  5. 5. Kiwi(Color.GREEN);
  6. 6. private Color color;
  7. 7. Fruit(Color color) {
  8. 8. this.color = color;
  9. 9. }
  10. 10. }
  11. 11. class Test {
  12. 12. public void method() {
  13. 13. // insert code here
  14. 14. }
  15. 15. }
Which two, inserted independently at line 13, allow the code to compile? (Choose two.)

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

#65. Which three are legal ways to declare and initialize an instance variable? (Choose three.)

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

#66. Given:
  1. 3. class TestVars {
  2. 4. int x, y;
  3. 5. char c;
  4. 6. // insert code here
  5. 7. }
Which three, inserted independently at line 6, allow the code to compile? (Choose three.)

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

#67. Given:
  1. 3. int calc() {
  2. 4. long x = 40L;
  3. 5. int i = 30;
  4. 6. i = x;
  5. 7. System.out.println("result is: " + i);
  6. 8. }
What is the result of calling calc()?

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

#68. Given:
  1. 1. class Variables {
  2. 2. int i;
  3. 3. String s;
  4. 4. Object o;
  5. 5. String g = null;
  6. 6. Integer y;
  7. 7. char c;
  8. 8. }
Which four are object references? (Choose four.)

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

#69. Given:
  1. 5. // insert code here
  2. 6. public abstract void bark();
  3. 7. }
  4. 8.
  5. 9. // insert code here
  6. 10. public void bark() {
  7. 11. System.out.println("woof");
  8. 12. }
  9. 13. }
Which, inserted at lines 5 and 9, allows the file to compile?

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

#70. Given:
  1. 5. // insert code here
  2. 6. public void eat();
  3. 7. }
  4. 8.
  5. 9. // insert code here
  6. 10. public void eat() {
  7. 11. System.out.println("eating dinner");
  8. 12. }
  9. 13. }
Which, inserted at lines 5 and 9, allows the file to compile?

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


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