what is the difference between activity and sequence diagram?
Activity and sequence diagrams are two behavior diagrams. The main difference between activity diagram and sequence diagram is that the activity diagram represents the flow of activities in a system while the sequence diagram represents the sequence of messages flowing from one object to another.