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

Application Lifecycle Management - SDLC with ALM

Sharepoint 2010 : Crawl issues - Search refiners

What's new in Sharepoint 2016