You will do this for simplicity in this exercise, but it is often a best practice for a class not to be aware of who is intercepting it.
为了简便起见,在此练习中可以这样做,但是对于类来说,最佳实践是不要知道谁在拦截它。
In fact, you might want to bundle up the code you write to handle data source configuration and connection into a utility class (that's left for you as an exercise).
实际上可以将处理数据源配置和连接的代码打包成一个工具类(留给读者作为练习)。
In addition, she joined an exercise class.
除此之外,她还去参加运动课程。
There's a bit of code duplication in the Person class, but I'll leave that for a later refactoring exercise.
在person类中有一些重复的代码,但我把它留给稍后的重构练习。
This will help combat the sadness and loneliness in a constructive manner. Exercise, swim, take an aerobics class, etc.
锻炼,游泳和参加有氧课程能有效的帮助你摆脱悲伤和孤独感的困扰。
The one mandatory speech class became an exercise in rote memorization.
唯一的一次强制演讲也成了机械背诵练习。
When I was in college, I manipulated my class schedule to avoid public speaking encounters. The one mandatory speech class became an exercise in rote memorization.
在我上大学的时候,我特意不去选那些可能需要进行公众演讲的课程。唯一的一次强制演讲也成了机械背诵练习。
Another witness told the Pittsburgh Post-Gazette newspaper that she was in an exercise class when a man came in a back door and started shooting.
另一名目击者接受《匹兹堡邮报》采访时指出,一名男子从后门进来开枪射击时,她正在健身课上。
Now let's begin our example by creating a simple class that we can exercise in our test scenarios.
现在,让我们建立一个测试场景的简单的类,来开始我们的示例。
For an exercise in class definition, you'll use the caching factorial calculator of factorial.py, shown in Listing 4.
我们用高速缓存阶乘计算器factorial . py作为类定义的练习,如清单4所示。
Carol: I don't have time to study a language... I take an exercise class in the morning.
卡罗:我没时间学语言⋯⋯早上我要参加一个健身班。
Need we hand in our exercise-books before class?
我们需要在上课前交练习本吗?
Must our exercise books be handed in after class?
我们的作业本必须在课后交吗?
Though PE class is a part of children's education, many teenagers didn't form the habit of doing exercise, they don't have interest in sports.
虽然体育课是孩子教育的一部分,很多青少年没有形成体育锻炼的习惯,他们对体育没有兴趣。
I heard a great exercise that actors were doing in a class I was sitting in on.
我听说了一个不错的练习,演员们上一个训练班。
Enroll in a noontime or an after-work exercise class. This will give you a chance to unwind and a way to relieve stress.
参加中午或下班后的锻炼班。这会给你带来一个放松的机会、帮你减压。
Physical health: no less than 1 PE class and no less than 1.5 hours of exercise time are arranged each day in the school.
身体健康:学校每天不少于1节课的体育类课程,每天不少于1.5小时的锻炼时间。(锻炼活动照片)。
Many students are hurt because violent [vai? L? Nt] exercise, I am sorry to hear that, but I know They are in order to the class honors.
不少同学都因为剧烈的运动而受了伤,我听到那感觉很抱歉,但是我知道,他们都是为了班级的荣誉。
Today, I was participating in an exercise in my psychology class to describe this horrible looking person I had never seen before and I described the person as a "rebellious, drug dealing, lowlife".
今天,我参加了我们心理学课上面的一个小游戏,游戏需要我们描述照片上那个长相恐怖的陌生人。我把那个人描述成”反叛的、卑鄙的毒贩“。
Today, I was participating in an exercise in my psychology class to describe this horrible looking person I had never seen before and I described the person as a "rebellious, drug dealing, lowlife".
今天,我参加了我们心理学课上面的一个小游戏,游戏需要我们描述照片上那个长相恐怖的陌生人。我把那个人描述成”反叛的、卑鄙的毒贩“。
应用推荐