Programming - Concept
Interface
(Programming)
A defined set of actions or rules that software components agree to provide
What's it for?
Lets different pieces of code work together without needing to know each other's internal details.
For example…
A payment component offers a simple interface with actions such as charge, refund and check status, while hiding how those actions work internally