UML&OCL Modeling Languages


Exercices

  1. Use the Umlet tool to create the following states' diagram representing the behavior of "Lights".

Lights' behavior
  1. Use the tool to model:
    a. Light class
    b. The behavior of an object "light1" that is turned on, off and on in a sequence diagram.

  2. Can you encode the model in Java ? (In C ?)


14 - 14