KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
If I have two variables: Object obj; String methodName = "getName"; Without knowing the class of obj , how can I call the method identified by methodName on it? The method being called has no parameters, and a String return value. It's a getter for a Java bean .
Tags (comma-separated)
Save Edits
Cancel