Any class that declares an abstract method must itself be declared abstract.
声明抽象方法的任何类本身必须是声明为抽象的。
Because act is an abstract method, we don't need to explicitly override it with the override keyword.
因为act是一个抽象方法,我们不需要显式地用override关键字来重写。
Simply override each abstract method in BridgeFactory, and change it to return true or false, as appropriate.
只需覆盖BridgeFactory中的每个抽象方法,并适当地将它改为返回true或false。
Another example how intelligent a refactoring should be: Create an interface which declares an abstract method.
另一个能证明重构多么智能的例子是:创建一个接口,它声明了一个抽象方法。
If you want to develop a data logic method in a CMP bean that USES a stored procedure, you must define this method as an abstract method.
如果用户想利用存储过程在CMPbean中开发数据逻辑方法,必须将该方法定义为抽象方法。
An abstract method is implicitly a virtual method.
抽象方法隐含是一个虚拟方法。
Abstract methods have the following features: An abstract method is implicitly a virtual method.
抽象方法具有以下特点:抽象方法是隐式的虚方法。
As we have known, the method of idealization is a common-used scientific abstract method in the research of natural science.
我们知道,理想方法是自然科学研究中一种常用的科学抽象方法。
This paper employs systematic abstract method, persisting in the unity of history and logic with possession of detailed information.
本文以系统抽象法为基本方法,坚持历史与逻辑的统一,详细占有资料。
Typically this exception is thrown from the function body of an abstract method declaration or from an interface method declaration.
通常从抽象方法声明的函数体或接口方法声明中引发此异常。
When an abstract class inherits a virtual method from a base class, the abstract class can override the virtual method with an abstract method.
当抽象类从基类继承虚方法时,抽象类可以使用抽象方法重写该虚方法。
In this case we do not define an instance variable in the injectee, but an abstract method returning the required object. The method may be public or protected
在这个例子中,我们没有在被注入者中定义一个实例变量,而是定义了一个返回所需对象的抽象方法。
Creating an abstract method allows you to put a method in an interface without being forced to provide a possibly meaningless body of code for that method.
创建一个抽象方法允许你去把一个方法放到一个接口中而不需要去强制提供可能没有任何意义的实现。
We write our code in such a way that we invoke some abstract method, and some underlying, hidden logic is responsible for dispatching the request to an appropriate implementation, as follows.
我们以特定的方式编写代码,以调用抽象方法,使某个基础隐藏逻辑负责将请求调度到恰当的实现,如下所示。
Abstract method declarations are only permitted in abstract classes.
抽象方法声明只允许在抽象类。
Abstract method declarations are only permitted in abstract classes.
抽象方法声明只允许在抽象类。
应用推荐