The new code is based upon an easily observable assumption about a class, namely that it defines the vast majority (usually all) of its methods before an instance of the class is created.
新的代码基于对类的一个很容易观察到的假设,换句话说,在创建类的实例前它会定义好绝大多数方法(通常是所有方法)。
For instance, the hornet still gets the vast majority of its energy from food.
例如,食物仍是大黄蜂最主要的能量来源。
For instance, the hornet still gets the vast majority of its energy from food.
例如,食物仍是大黄蜂最主要的能量来源。
应用推荐