例如,概念主体和任务先决条件都允许公共块元素,如 p (段落)和 ul (无序列表)。
For example, both the concept body and the task prerequisites permit common block elements such as p paragraphs and ul unordered lists.
当公共汽车抛锚时,她和她的丈夫用一个衣架和一块木头把它修好了。
When the bus broke down, she and her husband were able to fix it with a coat hanger and a piece of wood.
通过安排不同类型的对象来执行公共方法,我们将分派决定移到对象中并从显式条件块中消除。
By arranging for objects of different types to implement common methods, we move the dispatch decision into the objects and out of an explicit conditional block.
应用推荐