OBJECT-ORIENTED ANALYSIS AND DESIGN - Class Design (part 2)
A class embodies a set of responsibilities which define the behavior of the objects in the class
The responsibilities of a class are carried out by its operations
This is not necessarily a one-to-one mapping
Product class responsibility -- supply price
Operations for this responsibility
Look up information from a database
Calculate the price
An operation is a service that can be requested from an object to effect behavior
Xin lỗi bạn không thể down load tài liệu này. Bạn có thể xem tài liệu trực tuyến trên website hoặc liên hệ thư viện trường để được hướng dẫn. Cảm ơn bạn đã sử dụng dịch vụ của chúng tôi.
Bạn vui lòng tham khảo thỏa thuận sử dụng của thư viện số.