|
Advertisement
|
Forum posts by Raja:1 page [ 1 ]
Posted in Java Answers Forum, Jul 22, 2002, 9:43 AM
Is there a way to call methods using reflectionby nameI am now doing it if (myobject instanceof object1)object1.method1()else if (myobject instanceof object2)object2.method2();::instead it would be good to do this waymyobject.setProperty(object1, method1);myboject.setProperty(object2, method2);Is there a way to do in 1.3Please help.
1 page [ 1 ]
|