Encapsulation Vs Abstraction - OOP Concepts


Found a lot of articles about Encapsulation and Abstraction and few of them are confusing. Here is the simple and easy-to-understand version of Encapsulation Vs Abstraction.

What is Encapsulation in OOP Concept ?
Unlike the procedural programming , the members and methods are encapsulated ( enclosed ) as an object.

What is Abstraction in OOP Concept ?
The encapsulated methods and members in an object are extracted (abstracted) to give the required data or actions to the calling methods.




Comments

Popular posts from this blog

[Solution]:Sharepoint installation cant find SQL DB Server

Monte Carlo Simulation in Excel simplified!

Vostro and Nostro accounts