22.1 OBJECT-ORIENTED ANALYSIS (OOA)

Many times a general statement is made of the problem to be solved. Hence to begin with we have to study and understand the problem. Next step is the requirement analysis. These steps together lead to a detailed and accurate problem specification.

Now we have to identify the objects to be created. Objects may belong to various classes. Hence, we have to identify classes and their hierarchy or interrelationship. We have to decide on attributes and methods of these objects.

We have to also decide how these objects have to interact with each other. UML has become indispensible tool in analysis and design. You can see introduction to UML in Box 22.1.

Box 22.1 Introduction to UML

Modelling is the designing of ...

Get Object Oriented Programming with C++, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.