Object Creation and Deletion

This is a sequence diagram example that shows object creation and deletion.

  1. creation: arrow with 'new' written above it – notice that an object created after the start of the scenario appears lower than the others
  2. deletion: an X at bottom of object's lifeline – Java doesn't explicitly delete objects; they fall out of scope and are garbage-collected
Import into your Project

Posted by: Howard Pruitt

Turn every software project into a successful one.

Try Visual Paradigm for Free! Or learn more about our features.

0 0 vote
Article Rating
guest
0 Comments
Inline Feedbacks
View all comments