SOFTWARE DESIGN
OBJECT ORIENTED DESIGN
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Collaboration Diagram
|
|
State Diagram
|
|
Class Diagram
|
|
Deployment Diagram
|
Detailed explanation-1: -A class diagram is an illustration of the relationships and source code dependencies among classes in the Unified Modeling Language (UML). In this context, a class defines the methods and variables in an object, which is a specific entity in a program or the unit of code representing that entity.
Detailed explanation-2: -A class diagram shows classes in their relation and their properties and methods. A state diagram visualizes a class’s states and how they can change over time. In both cases you are talking about diagrams which are only a window into the model. The class relations define how the single classes relate to each other.
Detailed explanation-3: -With sequence diagram constructs we are describing object behavior in scope of one use case and their interaction. Each object in system goes through a so called lifecycle (create, supplement object with data, use object, decommission object).