Sail E0 Webinar
Question
What does foo.getClass().getMethod("doSomething, null) return?
Options:
A .  doSomething method instance
B .  Method is returned and we can call the method as method.invoke(foo,null);
C .  Class object
D .  Exception is thrown
Answer: Option B





Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers