资 源 简 介
在一个类中要用到另一个类的方法,通常是在文件 ∶ 头import进来,然后在用到时再new一个对象,我现在 ∶ 希望我的一个类里有一个方法,该方法接受一个类名和 ∶ 一个方法名,然后在在程序中动态的调用其他类的方法 ∶ 而不要在文件头import该类,免得每引用一个类的方法就要 ∶ 从新编译,如何实现呢? ∶ 另外在java里调c++的dll文件我也没试通,请各位大虾 ∶ 指教! ∶ 多谢,多谢! -in one category to another category to use the method, usually in the paper : the first import coming, and then used again when a new object, I now : I hope there are a category of a method to accept a name and category : a method name, and then in the process of dynamic call other categories of methods : instead of the first import of such documents, to avoid every kind of a quote we should approach : new compiler, and how to realize? : Another java Lane in the c-dll file I have not had a trial, please prawns : enlighten! : Thank you, Thank you!