一、they are models of something that can do certain things and have certain things done to
them. Formally, an object is a collection of data and associated behaviors. (對象是一組數據及相關方法行爲的集合。)編程
二、Object-oriented analysis (OOA) is the process of looking at a problem, system, or
task (that somebody wants to turn into an application) and identifying the objects
and interactions between those objects. The analysis stage is all about what needs
to be done.(面向對象分析就是對待解決的問題或系統、任務等進行分析,識別其中的對象及對象之間的交互。分析的結果就是輸出的具體需求,主要經過與客戶交流,瞭解流程,儘量使需求穩定、肯定。)app
三、Data typically represents the individual characteristics of a certain object.(數據表示的是具體對象的一系列特質)編程語言
四、Behaviors are actions that can occur on an object. The behaviors that can be performed on a specifc class of objects are called methods.(一類對象能夠實施的行爲被稱爲方法)。At the programming level, methods are like functions in structured programming, but they magically have access to all the data associated with this object. Like functions, methods can also accept parameters and return values.(方法 和編程語言中的函數相似,可是他們能夠訪問與對象相關的數據,也能夠接受 參數,返回值等。)ide
五、The key purpose of modeling an object in object-oriented design is to determine what the public interface of that object will be. The interface is the collection of attributes and methods that other objects can use to interact with that object.(設計對象的模型的關鍵目的是決定對象的公共接口。接口是提供給其餘對象的屬性和方法的集合,使其可以和提供接口的對象進行交互。接口隱藏了對象內部的具體細節,這一特徵即爲封裝,對象的三大特徵之一(封裝,繼承,多態)。)
六、While on the topic of public interfaces, keep it simple. Always design the interface of an object based on how easy it is to use, not how hard it is to code (this advice applies to user interfaces as well)。(設計公共接口時儘量簡單易用)函數
七、Our designs should be open ended so that future requirements can be satisfed. However, when abstracting interfaces, try to model exactly what needs to be modeled and nothing more.ui
八、
this