I’m drawing a UML Sequence Diagram for a writeToFile() method. In the method, the following calls are made:
- System.out.println()
- System.err.println()
- System.exit();
I’m confused about how to represent this in the diagram. Do I draw three seperate rectangles: System.out, System.err and System respectively?
Thanks for your help.
You might want to use three lifelines:
And then show the three calls