Impact of Gen-AI on IT Jobs - Growth Mindset Show
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
iOS
Java
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
8
Reply
What is data hiding and Encapsulation?
Ankit Agarwal
13y
14.2k
1
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
hiding the internal details of an object is called datahiding or abstraction and encapsulation means is the process of binding the data members and functions into a single unit
Bhabani Prasad
11y
1
Data Abstraction (data hiding) is a thinking process means that the developer should decide what information should show to outer world ,but the actual implementation of the Abstraction is nothing but the Encapsulation , which is achieved by using the access modifiers. you can say that the Encapsulation implements the Abstraction.
Alok Tripathi
8y
0
Data Abstration refers to data hiding as it act of represting essential features without including the background details or explanation, on the other hand Encapsulation is the wrapping up of data and functions into a single unit called as class.
Barkha Gupta
9y
0
data hiding means hide some important information of class from other class,method or object. abstraction is a mechanism which allow a class to make visible relevant information and hide unnecessary information. Encapsulation enable a programmer to implement a desired level of abstraction using access specifier...
Pankaj Kumar Choudhary
10y
0
http://programmers.stackexchange.com/questions/173547/what-is-the-difference-between-data-hiding-and-encapsulation
Munesh Sharma
11y
0
data hiding means hiding the internal details of an object and encapsulation means is the process of binding the data members and functions into a single unit.
masthan p
13y
0
Simplest example for a developer to explain is think how you define a class with comparison to c++.
Sandeep Sachan
13y
0
data hiding means hiding the internal details of an object and encapsulation means wrapping of data and code into single unit
Vithal Wadje
13y
0
Message