|
|
Authorized user can see question and answers. Please log in or sign up. 
|
#50. Given: 10. interface Foo {} 11. class Alpha implements Foo {} 12. class Beta extends Alpha {} 13. class Delta extends Beta { 14. public static void main ( String[] args ) { 15. Beta x = new Beta(); 16. //insert code here 17. } 18.}
Which code, inserted at line 16, will cause ajava.lang.ClassCastException?
Show comments for this question (0)
Add comments
Link to this question
|
|
|
|
gen. 0.288
|
Server date 06:27 10-01-2009
|
Developed by Zip © 2006
|
|
 |
|
|