Unified Modeling Language (UML) Question:

Download Job Interview Questions and Answers PDF

Explain all elements of a State-chart diagram.

UML Interview Question
UML Interview Question

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.

Download UML Interview Questions And Answers PDF

Previous QuestionNext Question
What are the elements in State Chart diagrams?What are the different elements of a collaboration diagram?