Why is a Class Diagram not adequate to show a dynamic view of an application?
Class diagrams represent the object-oriented view of a system, which is static in nature. Active class is used in a class diagram to show the concurrency of the system. It is generally used for development or construction of the application to model the static view of an application.
Static view is used to specify the static structure of the system using objects, attributes, operations and relationships.
However dynamic view is basically the object interaction and changes to the internal state of objects during runtime.
Structural diagrams such as class diagram do not use time related concepts, so they do not show the details of dynamic behavior. Hence class diagram is not adequate to show a dynamic view of an application.
Get Answers For Free
Most questions answered within 1 hours.