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?
我们的作业本必须在课后交吗?
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小时的锻炼时间。(锻炼活动照片)。
Considering the characteristics of chemistry education in medical college, comment was made on the significance of chemistry exercise class be developed and how to develop exercise class.
就医学专业化学教育的特点,对医学院校开展化学习题课的重要性及如何开展习题课进行了简要评述。
Enroll in a noontime or an after-work exercise class. This will give you a chance to unwind and a way to relieve stress.
参加中午或下班后锻炼班。将给你带来一个放松机会、减压的方法。
Football has a fierce confrontation, tactics changing, exercise is very large, with first-class athletes in addition to technical and tactical, the athletes also have high physical demands.
足球运动具有对抗激烈,战术多变,运动量大等特点,运动员除了具有一流的技战术外,对运动员的体质也有很高的要求。
You may hand in your exercise book either before class or after class.
你可以在课前或课后交练习本。
I became besotted with a girl in my class - I wanted to look good for her -and I began to exercise obsessively.
我迷恋上了班里的一个女孩——我希望在她面前有个好形象,于是开始强迫性地锻炼。
In the morning, we also offer a Tai-Chi class to the parents, so they can get exercise and improve health while waiting for the kids.
上午时段我们另设有太极拳课程,家长们在等待孩童下课的同时能活动筋骨,健身强身。
In the morning, we also offer a Tai-Chi class to the parents, so they can get exercise and improve health while waiting for the kids.
上午时段我们另设有太极拳课程,家长们在等待孩童下课的同时能活动筋骨,健身强身。
应用推荐