We were in the same class at school.
我们在上学时同过班。
We used to have the same math class together.
我们曾经上过同一节数学课。
In class we should not talk at the same time; we should take turns.
上课时,我们不应同时发言,而应轮流发言。
We cannot afford the risk of losing a class of first-rate insecticides with no suitable replacements ready to step in and do the same job.
我们无法承受在失去这类一流杀虫剂的同时,没有适当的替代品加入进来并起到同样的作用。
The reason we had to use two lanes was because swim practice was at the same time as the Water Jazz class.
我们必须使用两条泳道的原因是水上爵士乐班和我们游泳课是同一时间。
Often we weren't even in the same class, but I had a school-wide reputation as a good problem solver.
通常我们甚至不同班,因为我在学校已经有了解题高手的美誉。
We add the table and two menu buttons to the canvas container in the createChildren function (Listing 11), which overrides the same function in the base class.
我们在createchildren函数中将表和两个菜单按钮添加到画布容器中(清单11),该函数将覆盖基类中的相同函数。
The class and object can have the same name, as we will see in the section called "Companion Objects" in Chapter 6, Advanced Object-Oriented Programming in Scala.
类和object可以使用同样的名字,就像我们会在《第6章-Scala高级面向对象编程》的“伴随实体”章节中看到的那样。
We converted all style attributes to class attributes and defined CSS classes to perform the same function as the inline defined style attributes.
我们把所有的style属性转换为class属性,并定义了css类,当inline定义了style属性时,使用这个css类来执行相同的函数。
We would like causes, nonprofits, gifts, members, drives, registries, and many other types of objects to inherit from a common base class so we could treat all types of content in the same way.
我们很希望cause、nonprofit、gift、member、drive、registry以及其他一些类型的对象都能够从通用的基类中继承,以便我们能以同样的方式处理所有类型的内容。
Using the same sprite class, and same image, we are going to create a simple rollover icon.
使用相同的使用相同的sprite类与相同的图标,制作一个简单的翻转图标。
The key reason why we decided to have a utility class for data access was to ensure that the same classes could be used to connect to any type of Domino database.
决定实现一个实用程序类来进行数据访问的关键原因是,希望确保可以使用相同的类来连接任何类型的Domino数据库。
我们在同一个班级。
因此我们在同一个班。
We are always going to use the same bean class.
我们会一直使用这个相同的类。
We are not in the same class, but we join the basketball club, as we have the same interest, we become good friends soon.
我们不在同一个班,但是我们加入入篮球俱乐部,因为我们有着相同的兴趣,很快成为好朋友。
And, as you may have noticed, we could have achieved the same effect as the code in Listings 1-3 by using an abstract class (abstract classes are described in Chapter 6).
而且,正如你可能注意到的,我们可以通过使用抽象类获得与清单1 - 3代码同样的效果(抽象类是在第6章中描述的)。
The same goes for the middle-class parent repeatedly warning a child not to drink. That could lead to worse behavior.“We
这和中产阶级的父母一直告诫孩子不要喝酒一样,可能导致最坏的结果。
Implementation hierarchy works the same way in Scala: We can apply final to the method to prevent a child class from overriding it or to the class declaration itself to prevent derivatives.
实现层次结构在Scala中的效果是相同的:我们可以向方法应用final来防止子类覆盖它,也可应用于类声明本身来防止继承。
Although we did different things, but everyone with the same goal, in order to honor the efforts of class.
我们虽然做着不同的事情,但大家都怀着同一个目标,为了班级的荣誉而努力。
我们在同一个班级读书。
Since we know the type of a class by the messages we can send to it, this means that the derived class is the same type as the base class.
因为我们可以通过能给类发送的消息知道这个类,所以这意味着衍生类和基类属于同种类型。
In the same way that we discovered function interfaces by encapsulation and generalization, we can discover class interfaces by data encapsulation.
之前我们对函数接口进行过封装和泛化的处理,现在也可以通过数据封装来改进类的接口。
Sure, We were in the same class.
当然。我们俩在同一个班。
Sure, We were in the same class.
当然。我们俩在同一个班。
应用推荐