BBS水木清华站∶精华区

发信人: sheen (笨笨熊-一切都会有的), 信区: Java        
标  题: Re: 有关于Method getMethod(String,Class[])方法求助 
发信站: BBS 水木清华站 (Wed Mar 10 09:34:32 1999) 
 
Thanks a lot! 
Success. 
 
【 在 wingzhang (scott) 的大作中提到: 】 
 how about following: 
   Class c = Class.forName("MyMethods"); 
   Object obj = c.newInstance(); 
   ... 
   so you can have both the object and the method 
 
 
-- 
※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 166.111.78.145] 

BBS水木清华站∶精华区