|
|
Authorized user can see question and answers. Please log in or sign up. 
|
#1. Given: AnInterface is an interface. AnAdapter0 is a non-abstract, non-final class with a zero argument constructor. An Adapterl is a non-abstract, non-final class without a zero argument constructor, but with a constructor that takes one int argument. Which two construct an anonymous inner class? (Choose two.)
Show comments for this question (0)
Add comments
Link to this question
|
|
#7. 1. public class Test { 2. private static int j = 0; 3. 4. public static Boolean method B (int k ) { 5. j + = k; 6. return true: 7. } 8. 9. public static void method A (int i) { 11. b = I < 10 | method b (4): 12. b = I < 10 || methodb(8): 13. } 14. 15. public static void main (String args []) { 16. method A (0); 18. } 19. }
What is the result?
Show comments for this question (0)
Add comments
Link to this question
|
|
|
|
gen. 0.255
|
Server date 14:55 02-12-2008
|
Developed by Zip © 2006
|
|
 |
|
|