Total Page Preview:   000000023732

What is difference between Abstraction and Encapsulation in English and Hindi

 

Abstraction :

Abstraction is process in which you collect or gather relevant data and remove non-relevant data. (And if you have achieved abstraction, then encapsulation also achieved.)


In Hindi

" Abstraction ek process hai jisme aap relevant data ko collect or gather karte ho aur non-relevant data ko remove karte ho"

Encapsulation:

Encapsulation is a process in which you wrap of functions and members in a single unit. Means You are hiding the implementation detail. Means user can access by making object of class, he/she can't see detail.


In Hindi

"Encapsulation ek process hai jisme aap functions and members ko ek single unit me wrap karte ho. Aap implementation detail ko hide karte ho. Iska matlab user class ka object bana ke access kar sakta hai, wah detail ko dekh nahi sakta hai."


Abstraction and Encapsulation

Abstraction and Encapsulation

Difference between Abstraction and Encapsulation in OOPS

Difference between Abstraction and Encapsulation

In Hindi

 

  Abstraction Encapsulation
1

Abstraction design level me problem solve karta hai".

Encapsulation implementation level me problem solve karta hai

2

Abstraction unwanted data ko hide karne aur relevant data ko dene ke liye use hota hai

Encapsulation ka matlab code aur data ko ek single unit me hide karna hai taki outside world se data ko protect kar sake

3

Abstraction focus karta hai ki object kya kar raha hai, wo kaise kar raha hai usse matlab nahi

Encapsulation ka matlab ek object kaise kuch kaam kar raha hai uske internal details or mechanics ko hide karna hai

4

Abstraction outer layout hota hai

Encapsulation inner layout hota hai

 


Abstraction and Encapsulation Real Example

Abstraction and Encapsulation
 
 

 

Thank You

About Author

Brijesh Kumar

Database Developer

I have more then 6 years Experience in Microsoft Technologies - SQL Server Database, ETL Azure Cloud - Azure SQL Database, CosmosDB, Azure Data Factory, PowerBI, Web Job, Azure Function, Azure Storage, Web Apps, Powershall and Database Migration On-Premise to Azure Cloud.
LinkedIn : https://www.linkedin.com



Comments

Brijesh Kumar
04-Mar-2016
This is very helpful nice thing.
SANATH ROHILLA
17-Nov-2016
Awesome Knowledge sharing...