Abstraction vs Encapsulation

Abstraction and Encapsulation are the two basic features of Object Oriented Programming. Abstraction – Refers to the process of exposing only the relevant and essential data to the users without showing unnecessary information. It lets you focus on what the object does, instead of how it does it. Encapsulation – Prevents the data from unwanted access by binding of […]