Concept Flow - Why interfaces are used
Define Interface
Create Types that Implement Interface
Use Interface Type to Hold Any Implementing Type
Call Methods via Interface
Achieve Flexibility and Abstraction
Interfaces define behavior without specifying exact types, allowing different types to be used interchangeably through shared methods.