Your comments

Main Difference

  • Factory/Abstract Factory: Focuses on creating objects and decouples client code from specific object classes.
  • Strategy: Focuses on selecting algorithms or behaviors depending on the situation without changing the client code.

I hope this helps clarify the main difference between these patterns!