Explain the types of diagrams in UML.We have nine types of diagram in UML.
Use Case Diagram
Use Case Diagram describes “HOW” the system works. It identifies the primary elements and processes that form the system. It shows “actors” and their “roles”
This diagram explores detail design of the system. The class diagram is designed using Use Case diagram. We can identify all “Nouns” in use cases as classes and “verbs” as method of the classes.
This diagram represents the state of classes in the system and their relationships or associations at a specific point of time.
This diagram represents different states that objects in the system undergo during their life cycle.
This diagram is used to explore logic of complex operations, function or procedure. In this diagram, sequence of the interactions between the objects is represented step by step.
This diagram groups together the interaction between different objects.
Activity diagram gives detail view of the business logic.
It shows deployment view of the system. It shows how hardware and software works together to run system.