Lesson 2: Object Oriented Analysis and Design
Lesson 2: Object Oriented Analysis and Design
2.1. Introduction
In this lesson, you will learn about object oriented analysis and design.
2.2. Lesson objectives
By the end of this lesson, you will be able to
2.3. Lesson outline
This lesson is structured as follows:
2.1. Introduction
2.2. Lesson objectives
2.3. Lesson outline
2.4. Object oriented analysis and design concepts
2.5. Object oriented analysis
2.6. Object oriented Design
2.7. Object oriented implementation
2.8. Revision questions
2.9. Summary
2.10. Suggested reading
Object
oriented
design
Produce
the design.
• For each attribute, determine the data type, length (optional) and
visibility.
• For each method, determine the name, argument (optional) and
visibility.
• Determine the associations between the classes.
• The visibilities are private (-), public(+) and protected(#).
Book
Borrower
-BookNo 1..*
-BorrowerID
-BookTitle
-BorrowerName
1..1
+AddBook()
+getInfo()
+Search()
+displaiInfo()
Class class_name
{
Access
specifier(visibility):
Data member(s);
Member function(s);
};