Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Abstraction

Abstraction is basically capturing the core data of an object and ignoring the details.

In the above example, When student class need to work with Course class, it can do so with directly referencing course class, without worrying about how the course details are internall managed, stored, etc.

Advantages

  • Reduces complexity
  • Increases Efficiency