Which method can be used to invoke a method on an unknown object?

1
obj.getClass().getDeclaredMethod()
2
obj.getClass().getMethod()
3
obj.getClass().getObject()
4
obj.getClass().getDeclaredField()
5
Question Not Attempted

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation