I have a small doubt. Is there anyway to get an object on runtime?
Something like this: I have a class say Employee and has following properties name, addrees, id
Now i have an object of Employee but I have to get one of the property depending on certain condition.
So it may be emp.getName() or emp.getID() on runtime.
How do I achieve this?
Regards, Amit