你有一个例子,你想做什么?如果有一个静态的抽象 方法,那么你建议的方法是不可能的。 也许还有另一种方法可以做你想做的事。 如果你期望派生类来实现它,你需要一个实例 因为没有实例它就不知道你要调用哪一个。 n!Do you have an example of what you''re trying to do? If a static abstractmethod were available what you''re suggesting would be impossible anyway.Perhaps there is another way of doing what you want.If you''re expecting derived classes to implement it, you need an instancebecause without an instance it wouldn''t know which one you wanted to call.n! 这篇关于静态抽象方法?为什么不?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-14 08:02