报错 方法转成static

迁代码容易报的错

在static方法里引用接口

引用的方法不是静态不能直接引用 要new一个对象调用 

猜你喜欢

转载自blog.csdn.net/qq_40279809/article/details/86659854