Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以抑制eclipse中未实现的方法错误?如果是这样,这是明智的做法还是会导致可能的不稳定?
你不能抑制它,因为它不是一个警告。如果不实现它们的抽象方法,您将违反 aninterface或 an的合同。abstract class
interface
abstract class
这不是明智之举,因为您的代码无法编译。