Draw an activity diagram using Visio or other diagram programs JAVA language describing an algorithm for finding the top two maximum values in a list. The input is the list, and output is the top two maximum values.
Make your own assumptions
Design/choose the algorithm first, then model it with an activity diagram
Include appropriate level of detail in your model