The same is true for abstract methods contracts.
对于抽象方法契约同样如此。
Make sure Inherited abstract methods is selected.
确保已选择Inherited抽象方法。
Avoid abstract methods, use interfaces instead.
避免使用抽象方法,而是使用接口代替。
How should Interfaces and Abstract methods be used?
如何使用接口和抽象方法?
What about abstract methods, do they return anything?
关于抽象方法,做他们的回报吗?
There are several abstract methods that must be implemented.
有几个必须实现的抽象方法。
Make sure the Inherited abstract methods option is selected.
确保已选择Inherited抽象方法选项。
An abstract class may contain abstract methods and accessors.
抽象类别可能会包含抽象方法和存取子。
Why can abstract methods only be declared in abstract classes?
为什么抽象方法只在抽象类中声明?
Make sure that Inherited abstract methods is selected as shown in figure 3.
确保已选择Inherited抽象方法,如图3所示。
You can see abstract classes and abstract methods as a sort of contract.
你可以看到抽象类和抽象方法作为一种合同。
DatastoreUploadServlet won't compile until we implement the abstract methods.
在我们需要实现抽象方法之后,我们才能够成功编译 DatastoreUploadServlet。
Derived classes of the abstract class must implement all abstract methods.
抽象类别的衍生类别必须实作所有抽象方法。
Notice that an abstract class is denoted by italicized text, as are abstract methods.
注意,抽象类和抽象方法用斜体表示。
To use an ABC, a subclass must inherit from the ABC and override its abstract methods.
要使用ABC,子类必须继承自此 ABC并且还要覆盖其抽象方法。
Implement standard OOP features like private constructors, abstract methods and classes.
实现标准的面向对象功能,比如:私有构造函数、抽象方法和抽象类等。
You can declare standard and abstract methods in an abstract class, as shown in Listing 5.
可以在抽象类中声明标准和抽象方法,如清单5所示。
The interface body can contain abstract methods, default methods, and static methods.
接口主题可以包含抽象方法、默认方法和静态方法。
Next, add the three abstract methods in Listing 4. Each one represents a step in the workflow.
接下来,添加清单4所示的三个抽象方法。每一个方法表示工作流程中的一个步骤。
Select the Constructors from superclass and Inherit abstract methods fields See figure 8.
选择Constructors fromsuperclass andInheritabstract methods字段,如图8所示。
Select the Constructors from superclass and Inherit abstract methods fields See figure 9.
选择Constructors fromsuperclass andInheritabstract methods字段,如图9所示。
In the window that displays, specify that you want Eclipse to create the inherited abstract methods.
在显示的窗口中,指明您希望eclipse创建继承的抽象方法。
Select the Constructors from superclass and Inherit abstract methods fields as shown in figure 11.
选择Constructors fromsuperclass andInheritabstract methods字段,如图11所示。
Select the Constructors from superclass and Inherit abstract methods fields as shown in figure 10.
选择Constructors fromsuperclass andInheritabstract methods字段,如图10所示。
Abstract methods must be qualified by the abstract keyword and must consist of a method signature only.
抽象方法必须用abstract 关键字限定,且必须只由一个方法签名组成。
Select the check boxes for Constructors from superclass and Inherited abstract methods, and click Finish.
为Constructors fromsuperclass与inheritedabstract methods选择复选框,并点击Finish。
Abstract methods used when one method can implement in more than one sub class with different implementation.
抽象方法时使用一个方法可以实现在多个接头与不同的实现类。
As mentioned earlier, all CRUD methods are candidates for container-managed methods since they are abstract methods.
正如前面所提到的,由于CRUD方法是抽象方法,因此所有的CRUD方法都是容器管理方法的候选方法。
Then we'll work through the servlet implementation, which consists of three abstract methods customized for Bigtable.
然后我们将完成Servlet实现,它是由三个专门为Bigtable定制的抽象方法组成的。
It contains abstract methods whose sole implementation purpose is to perform the CRUD operations on the underlying table.
它包含一些抽象方法,实现这些方法的惟一目的是在底层表上执行CRUD操作。
应用推荐