What is the difference between the Strategy pattern and the Command pattern? I am also looking for some examples in Java.
Strategy - Quicksort or Mergesort [algo change]
Command - Open or Close [action change]