java – getMethods()返回方法我在实现通用接口时没有定义

java – getMethods()返回方法我在实现通用接口时没有定义

一个简单的界面: interface Foo { void myMethod(String arg);}class FooImpl implements Foo { void myMethod(String arg){} public static void main(String[] args) { Class cls = FooImpl.class;

联系我们

联系我们

0577-28828765

在线咨询: QQ交谈

邮箱: xwei067@foxmail.com

工作时间:周一至周五,9:00-17:30,节假日休息

返回顶部