

MCQOPTIONS
Saved Bookmarks
1. |
What does foo.getClass().getMethod( doSomething , null) return? |
A. | Exception is thrown |
B. | Class object |
C. | Method is returned and we can call the method as method.invoke(foo,null); |
D. | doSomething method instance |
E. | None of these |
Answer» D. doSomething method instance | |