MCQOPTIONS
Saved Bookmarks
| 1. |
Which one create an anonymous inner class from within class Bar? |
| A. | Boo f = new Boo(24) { }; |
| B. | Boo f = new Bar() { }; |
| C. | Bar f = new Boo(String s) { }; |
| D. | Boo f = new Boo.Bar(String s) { }; |
| Answer» C. Bar f = new Boo(String s) { }; | |