• For example, a bank - account class might have a method to calculate a balance.

    例如,一个银行帐号类可能具有一个计算余额的方法。

    youdao

  • Listing 8 shows a similar implementation of the Account class.

    清单8显示了account类的类似实现。

    youdao

  • Now implement the withdraw method. The Account class should look like Listing 7

    现在实施withdraw方法。

    youdao

  • Consider the example of an authentication policy for the Account class shown in Figure 1.

    请考虑图1所示的account类的授权策略这样一个示例。

    youdao

  • Surprisingly, I can't think of anything for objects of the Account class to do in this system.

    令人惊讶的是,我想不出Account类的对象能够在此系统中做什么。

    youdao

  • Notice what our code has so far: first, our Account class isn't a bean (it essentially has a getter -- but no setter -- for its one data member).

    注意一下目前我们的代码有哪些东西:首先,我们的Account类不是一个bean (实际上,对于它的一个数据成员它有一个getter方法――但是没有setter 方法)。

    youdao

  • Since you should be writing tests first, you should have a failing test that tells you what the Account class needs to look like. Your class should look similar to Listing 1.

    既然您首先应该编写测试,您就应该有一个失败测试,它会告诉您account类应该是什么样子。

    youdao

  • Since you should be writing tests first, you should have a failing test that tells you what the Account class needs to look like. Your class should look similar to Listing 1.

    既然您首先应该编写测试,您就应该有一个失败测试,它会告诉您account类应该是什么样子。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定