Q77
What does foo.getClass().getMethod("doSomething", null) return?
A.
doSomething method instance
B.
Method is returned and we can call the method as method.invoke(foo,null);
AnswerC.
Class object
D.
Exception is thrown
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board