显示问题:The method run cannot be declared static; static methods can only be declared in a static or top level type。
解决:当我们继承类的时候,准备使用里面的方法(服务),这个类声明必须是顶层类或者是静态的扩展类。
显示问题:The method run cannot be declared static; static methods can only be declared in a static or top level type。
解决:当我们继承类的时候,准备使用里面的方法(服务),这个类声明必须是顶层类或者是静态的扩展类。