title: Class diagram vs State diagram (UML)
body: <p>Can someone give me an example of when is better to use State Diagram and when Class Diagram. Tnx in advance!</p>
  
  <p>For what type of software system would you use state machine diagrams to model functional requirements?
    For what type of software system is data modeling via UML class diagrams suitable?</p>