All desirable things in life are either illegal, banned, expensive or married to someone else !!!
All desirable things in life are either illegal, banned, expensive or married to someone else !!!
Originally posted by Rohit Bhagwat:
Yes you are right..I am sorry for giving wrong ans
you can use
Class.getMethods() which will return you the array of Method and then iterate over the array.
Regards
Rohit
[ March 14, 2005: Message edited by: Rohit Bhagwat ]
All desirable things in life are either illegal, banned, expensive or married to someone else !!!
All desirable things in life are either illegal, banned, expensive or married to someone else !!!
Thnx
I dont think so method names change over night....so no need to be dynamic in that sense.. some situations are better if hard coded
All desirable things in life are either illegal, banned, expensive or married to someone else !!!
SCJP 1.4, www.gsi3d.org.uk
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
"I'm not back." - Bill Harding, Twister
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
"I'm not back." - Bill Harding, Twister
Won't you please? Please won't you be my neighbor? - Fred Rogers. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|