Chapter 6 Object-Oriented Design

.Object-Oriented Design • Now we can extend our discussion of the design of classes and objects • Chapter 6 focuses on: software development activities determining the classes and objects that are needed | Chapter 6 Object-Oriented Design © 2004 Pearson Addison-Wesley. All rights reserved 6- Object-Oriented Design Now we can extend our discussion of the design of classes and objects Chapter 6 focuses on: software development activities determining the classes and objects that are needed for a program the relationships that can exist among classes the static modifier writing interfaces the design of enumerated type classes method design and method overloading © 2004 Pearson Addison-Wesley. All rights reserved 6- Outline Software Development Activities Identifying Classes and Objects Static Variables and Methods Class Relationships Interfaces Enumerated Types Revisited Method Design © 2004 Pearson Addison-Wesley. All rights reserved 6- Program Development The creation of software involves four basic activities: establishing the requirements creating a design implementing the code testing the implementation These activities are not strictly linear – they overlap and interact © | Chapter 6 Object-Oriented Design © 2004 Pearson Addison-Wesley. All rights reserved 6- Object-Oriented Design Now we can extend our discussion of the design of classes and objects Chapter 6 focuses on: software development activities determining the classes and objects that are needed for a program the relationships that can exist among classes the static modifier writing interfaces the design of enumerated type classes method design and method overloading © 2004 Pearson Addison-Wesley. All rights reserved 6- Outline Software Development Activities Identifying Classes and Objects Static Variables and Methods Class Relationships Interfaces Enumerated Types Revisited Method Design © 2004 Pearson Addison-Wesley. All rights reserved 6- Program Development The creation of software involves four basic activities: establishing the requirements creating a design implementing the code testing the implementation These activities are not strictly linear – they overlap and interact © 2004 Pearson Addison-Wesley. All rights reserved 6- Requirements Software requirements specify the tasks that a program must accomplish what to do, not how to do it Often an initial set of requirements is provided, but they should be critiqued and expanded It is difficult to establish detailed, unambiguous, and complete requirements Careful attention to the requirements can save significant time and expense in the overall project © 2004 Pearson Addison-Wesley. All rights reserved 6- Design A software design specifies how a program will accomplish its requirements That is, a software design determines: how the solution can be broken down into manageable pieces what each piece will do An object-oriented design determines which classes and objects are needed, and specifies how they will interact Low level design details include how individual methods will accomplish their tasks © 2004 Pearson Addison-Wesley. All rights reserved 6- Implementation Implementation is the process .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
97    100    2    15-06-2024
34    464    5    15-06-2024
68    89    2    15-06-2024
18    101    1    15-06-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.