Lecture-02-Object-Orientation-and-analysis - Copy
Lecture-02-Object-Orientation-and-analysis - Copy
Design
Overview
In this course we will learn to perform
analysis on a given domain and come up
with an Object Oriented Design (OOD).
Unified Modeling Language (UML) will
(e-commerce system, you would specify classes such as Customer, Product, Order, and their
interactions like Customer places Order or Order contains Products.) In the e-commerce system,
a Customer object will have attributes such as name and email, and behaviors (methods) like
placeOrder(). A Product object will have attributes like productID and price, and methods like
applyDiscount()
Contd..
The primary tasks in object-oriented analysis (OOA) are −
Identifying objects(product, book)
Organizing the objects by creating object model diagram( object model
are −
It helps in faster development of
software.
Contd..
It is easy to maintain. Suppose a module
develops an error, then a programmer can fix
that particular module, while the other parts
of the software are still up and running.
It supports relatively hassle-free upgrades.
functions.
It reduces development risks, particularly in