The term abstract base class sounds formidable, but actually it is nothing but a class that declares the syntax of one or more of its functions without implementing them.
术语抽象基类听起来可怕,但是实际上没什么,它只是一个类,声明但没有实现它的函数而已。
Students already have laptops and cell phones, of course, but the newest devices can take class distractions to a new level.
当然,学生们已经有了笔记本电脑和手机,但最新的设备还可以让课堂注意力的分散更严重。
But he doesn't require his students to buy access to a learning program that controls the class assignments.
但他不要求学生购买控制课程分配的学习程序。
Normally, you wouldn't tackle Joyce in an Intro class, but I'd like to give my first year students a taste of his style, his psychological approach to literature.
一般来说,入门课上不会研究乔伊斯,但我想让我一年级的学生粗识他的风格,以及他在文学阐释中采用的心理学路径。
Some people bring along a lot of accessories like extra lenses, but there's really no need for this class.
有些人会带很多配件,比如额外的镜片,但对于这门课来说真的没有必要。
I know I encourage everyone in class to look at a substantial number of sources, but I don't want you to get overwhelmed.
我知道我鼓励班上的每个人看大量的资料,但我不希望你们应接不暇。
I know it sounds obvious but I've seen a few people suddenly find the camera's stopped working right in the middle of class.
我知道这听起来人尽皆知,但是我看到过一些人就在上课的时候才突然发现相机坏了。
It used to be that the second semester of International Banking was an elective, but now it says it's a required class.
以前,第二学期的国际银行学是选修课,但现在它变成了必修课。
But in the medium term, middle-class workers may need a lot of help adjusting.
但在发展中期,中产阶级劳动者可能需要大量帮助来进行调整。
What's more, grades are not only an educational device but are also part of a screening system to help assign kids to their next class or program.
更重要的是,分数不仅是一种教育手段,也是一个筛选系统的一部分,帮助我们把孩子分配到他们的下一个班级或课程。
A ninth grader could get a well-earned 100 in English class but still have a way to go before she writes as well as Jane Austen.
一个九年级的学生在英语课上可能很好地得到100分,但要达到简·奥斯汀的写作水平,她还有很长的路要走。
There is a gap in working-class jobs, but the workers who need those jobs most aren't equipped to do them.
工薪阶层的工作岗位中存在一一个缺口,但是最需要这些工作的工人却不具备相应的工作技能。
The biggest safety threat facing airlines today may not be a terrorist with a gun, but the man with the portable computer in business class.
如今航空公司面临的最大安全威胁可能不是持枪的恐怖分子,而是商务舱里有手提电脑的人。
You might use a keyboard to write an article, but you should learn by hand during a class.
你可以用键盘写一篇文章,但在课堂上应该用手学习。
One year later, I not only did well in my P.E. class but also lost10 kg and even became a star in the school sports games.
一年后,我不仅在体育课上取得了很好的成绩,而且减掉了10公斤,甚至成为了学校运动会的明星。
"If you sleep with your mouth open, she will be able to see the tooth hole," said Sammy. The class laughed. Come on! But that just gave me a great idea! "How did you get the Tooth Fairy to leave the money?"
“如果你张着嘴睡觉,她就能看到牙洞。”萨米说。全班笑了。拜托!但这给了我一个好主意!“你是怎么让牙仙子留下钱的?”
But if you have a class that isn't using these objects, do not tie these objects to the class through the tests.
但是如果您有一个根本不使用这些域对象的类,在测试中就不要将这些对象联系到该类上。
Most applications have custom logic that authorizes users to perform an operation not only on a class, but also on an instance of that class.
大多数应用程序都有定制逻辑,它授权用户不仅仅在类上执行操作,而且还在该类的实例上执行操作。
For example, if the metaprogramming system auto-generates a method within a class, but later that method must be tweaked, how do you implement something like that?
例如,如果元编程系统自动生成类中的一个方法,但是后来又必须对这个方法进行修改,那么应该如何实现这种功能呢?
Each binding can use the same element names for each class, but in a different namespace.
每一个绑定都可以为每一个类使用相同的元素名称,但是使用不同名称空间。
The value object in Listing 2 looks almost identical to our remote interface, but it's actually a concrete class.
清单2中的值对象看起来和我们的远程接口几乎相同,但它实际上是具体类。
The school is testing what it calls an "ethics module" -not an entire class, but a synthesis of the ethics taught in other business classes.
学校正在实验一个“道德模型”——不是在全部的课程里,而是在其他商业课程里面作为商业道德综合理论一部分。
It will take a certain level of technical aptitude, I'm guessing to understand the two environments (depending on how it's implemented), but for a certain class of business user, this could be useful.
我猜,要理解这两个环境(取决于它如何实现)的好处,需要一定水平的技术能力,但对于某些类别的商业用户,这可能是有用的。
Another approach would be to create a factory class for instantiating the implementations, but there would still be a dependency to the implementation class in your code.
另一种方法是创建用于实例化实现的工厂类,但是您的代码中仍然存在对实现类的依赖。
Similarly, the global Logger means that you cannot use this class in absence of not just a logger, but that specific global logger class.
同样的,全局的日志记录器意味着你必须先获得一个某个明确全局记录器类所创建日志记录器后,才能使用这个类。
Federal civil rights laws do not protect the unemployed as a class, but some legal experts make a case that refusing to consider them for jobs is illegal.
联邦民权法没有将失业作为一个门类来保护,但是一些法律专家坚持,对他们不予考虑是非法的。
A nested class make sense when you have enough related functionality to lump together in a class, but the functionality is only ever going to be used by its "outer" class.
当你有足够多的功能需要归并到一个类里,并且这个类在仅会被外层类所使用时,一个嵌套类就非常有用。
In UML terms, an archetype is nothing but a "stereo-typed" class that further abstract real world entities into truly reusable and easily extensible analysis/design and implementation artifacts.
在UML术语中,原型只不过是一个“定型”的类,它可以进一步将实际实体抽象为真正可重复利用并可轻松扩展的分析/设计和实施构件。
It's reasonable to follow common object-oriented programming practices and have getters and setters in the public interface, but within a class you should always access fields directly.
通常根据面向对象语言的实践,在公共接口中使用Getters和Setters是有道理的,但在一个字段经常被访问的类中宜采用直接访问。
It's reasonable to follow common object-oriented programming practices and have getters and setters in the public interface, but within a class you should always access fields directly.
通常根据面向对象语言的实践,在公共接口中使用Getters和Setters是有道理的,但在一个字段经常被访问的类中宜采用直接访问。
应用推荐