Abstraction

Abstraction

Abstraction is the tactic of stripping an idea or object of its unnecessary accompaniments until you are left with its essential, minimal form. A good abstraction clears away unimportant details and allows you to focus and concentrate on the important details.

  • Declare the abstract class, then use keyword abstract to define your abstraction methods
  • Create a class, and conform to that abstraction
  • Once conformed, use keyword override to implement for that abstraction