Unified Modeling Language (UML) Question:
Explain all elements of a State-chart diagram.
Answer:
a. Initial State: The first or the default state the object is in. It is denoted by a solid circle.
b. State: All the states an object can go in are mentioned in this. It is represented by a rectangle with rounded edges.
c. Transitions: depicted by arrow from the source state to destination state.
d. Final State: Depicts the end of the. It is shown by a bull's eye symbol.
b. State: All the states an object can go in are mentioned in this. It is represented by a rectangle with rounded edges.
c. Transitions: depicted by arrow from the source state to destination state.
d. Final State: Depicts the end of the. It is shown by a bull's eye symbol.
Previous Question | Next Question |
What are the elements in State Chart diagrams? | What are the different elements of a collaboration diagram? |