登录
首页 » Java Develop » in one category to another category to use the method, usually in the paper : th...

in one category to another category to use the method, usually in the paper : th...

于 2022-07-16 发布 文件大小:1.16 kB
0 45
下载积分: 2 下载次数: 1

代码说明:

在一个类中要用到另一个类的方法,通常是在文件 ∶ 头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!

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696524资源总数
  • 103939会员总数
  • 12今日下载