Vidyalelo
Java Programming · Q49

Java Session Management and JSP

Programming · Java Programming · question 49

Q49

How method can be invoked on unknown object?

A.
obj.getClass().getDeclaredMethod()
B.
obj.getClass().getDeclaredField()
C.
obj.getClass().getMethod()
Answer
D.
obj.getClass().getObject()

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board