|
|
Authorized user can see question and answers. Please log in or sign up. 
|
#74. Given: 1. public class Foo { 2. private int val: 3. public Foo (int v) { val = v:} 4. public static void main ( String [] args ) { 5. Foo a = new Foo (10): 6. Foo b = new Foo (10): 7. Foo c = a: 8. int d = 10; 9. double e = 10.0: 10. } 11. }
Which three logical expressions evaluate to true? (Choose three.)
Show comments for this question (0)
Add comments
Link to this question
|
|
#77. 1. package foo; 2. 3. import java. Util. Vector; 4. 6. int i = 1; 7. public MyVector () { 8. i = 2; 9. } 10. } 11. 12. public class MyNewVector extends MyVector { 14. I = 4; 15. } 16. public static void main (String args []) { 17. MyVector v = new MyNewVector (): 18. } 19. }
What is the result?
Show comments for this question (0)
Add comments
Link to this question
|
|
|
|
gen. 0.247
|
Server date 05:43 10-01-2009
|
Developed by Zip © 2006
|
|
 |
|
|