adplus-dvertising
frame-decoration

Question

How method can be invoked on unknown object?

a.

obj.getClass().getDeclaredMethod()

b.

obj.getClass().getDeclaredField()

c.

obj.getClass().getMethod()

d.

obj.getClass().getObject()

Answer: (c).obj.getClass().getMethod()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How method can be invoked on unknown object?