Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!

Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 05-25-2017, 03:54 AM   #1
chinmay.sahoo
Registered User
 
Join Date: Dec 2013
Location: Banglore
Posts: 335
Send a message via AIM to chinmay.sahoo Send a message via MSN to chinmay.sahoo
Arrow What is Data Encapsulation?

Data encapsulation or data hiding is a function that keeps the implementation details hidden to the user. The user of the application is allowed to perform only limited task with the class members that are hidden.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
chinmay.sahoo is offline   Reply With Quote

Old 05-26-2017, 06:39 AM   #2
HawaHanif
Registered User
 
Join Date: May 2017
Posts: 39
Data encapsulation, also known as data hiding, is the mechanism whereby the implementation details of a class are kept hidden from the user. The user can only perform a restricted set of operations on the hidden members of the class by executing special functions commonly called methods.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
HawaHanif is offline   Reply With Quote
Old 05-27-2017, 12:40 AM   #3
shilpa
Registered User
 
Join Date: Jan 2017
Posts: 59
Data encapsulation is a mechanism of bundling the data and the functions that use them, and data abstraction is a mechanism of exposing only the interfaces and hiding the implementation details from the user.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
shilpa is offline   Reply With Quote
Old 05-29-2017, 03:49 AM   #4
kunalkumar
Registered User
 
Join Date: Apr 2016
Posts: 221
Data encapsulation, sometimes referred to as data hiding, is the mechanism whereby the implementation details of a class are kept hidden from the user. The user can only perform a restricted set of operations on the hidden members of the class by executing special functions commonly called methods.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
kunalkumar is offline   Reply With Quote
Old 05-31-2017, 01:36 AM   #5
samdaniel
Registered User
 
Join Date: May 2017
Posts: 133
Hiding the internal details of an object is called data hiding or abstraction and encapsulation means is the process of binding the data members and functions into a single unit.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
samdaniel is offline   Reply With Quote
Old 06-01-2017, 12:44 AM   #6
manavatmix
Registered User
 
Join Date: Jun 2016
Location: Delhi
Posts: 510
Data encapsulation is a data security technique. More about it here https://en.wikipedia.org/wiki/Data_encapsulation
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
manavatmix is offline   Reply With Quote
Old 06-13-2017, 04:32 AM   #7
samdaniel
Registered User
 
Join Date: May 2017
Posts: 133
1.Wrapping up data member and method together into a single unit (i.e. Class) is called Encapsulation.

2.Encapsulation is like enclosing in a capsule. That is enclosing the related operations and data related to an object into that object.

3.Encapsulation is like your bag in which you can keep your pen, book etc. It means this is the property of encapsulating members and functions.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
samdaniel is offline   Reply With Quote
Old 06-22-2017, 04:00 AM   #8
charlielucas
Registered User
 
Join Date: Jun 2017
Posts: 169
Encapsulation is a process of wrapping of data and methods in a single unit. It is achieved in C++ language by class concept.
Combining of state and behavior in a single container is known as encapsulation. In C++ language encapsulation can be achieve using class keyword, state represents declaration of variables on attributes and behavior represents operations in terms of method.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
charlielucas is offline   Reply With Quote
Old 06-23-2017, 11:55 PM   #9
cinemagicllc
Registered User
 
Join Date: Oct 2015
Location: New Jersey
Posts: 199
Data Encapsulation refers to sending data where the data is augmented with successive layers of control information before transmission across a network. The reverse of data encapsulation is decapsulation, which refers to the successive layers of data being removed at the receiving end of a network.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
cinemagicllc is offline   Reply With Quote
Old 07-12-2017, 02:09 AM   #10
Aarti Singh
Registered User
 
Join Date: Apr 2017
Posts: 107
Wrapping up data into a single unit is called Encapsulation. Data encapsulation, also known as data hiding, is the mechanism whereby the implementation details of a class are kept hidden from the user.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Aarti Singh is offline   Reply With Quote
Old 07-13-2017, 05:55 AM   #11
SarbjitGrewal
Registered User
 
Join Date: Mar 2017
Posts: 24
Data encapsulation is the mechanism of data hiding, whereby the implementation details of a class are kept hidden from the user.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
SarbjitGrewal is offline   Reply With Quote
Old 08-03-2017, 04:35 AM   #12
adityadev
Registered User
 
Join Date: Jul 2017
Posts: 30
Data encapsulation, now and then alluded to as information covering up, is the component whereby the usage points of interest of a class are kept avoided the client. The client can just play out a limited arrangement of operations on the shrouded individuals from the class by executing extraordinary capacities normally called techniques.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
adityadev is offline   Reply With Quote
Old 08-11-2017, 05:26 AM   #13
kateparkers
Registered User
 
Join Date: May 2016
Posts: 309
When referring to networking, encapsulation is the process of taking data from one protocol and translating it into another protocol, so the data ..
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
kateparkers is offline   Reply With Quote
Old 08-18-2017, 12:45 AM   #14
jessicabarnes
Registered User
 
Join Date: Aug 2017
Location: New York
Posts: 11
Data encapsulation

Data encapsulation is one of the important concepts of the Object-oriented paradigm while two are inheritance & polymorphism. In another term, hide your data in order to make it protected from any modification.

Let's take an example to explain data encapsulation:

Let's say you are developing an eCommerce site that shows prices of products and the cost of your product is estimated as price (plus) tax. Again let's assume you have a Products Class with properties Price and Tax. You would not want users to have direct access to property Price as this will not return the correct price of your product. What you will do is to declare Price as a Private or Protected property and then implement a public method GetProductPrice that returns the result of Price (plus) Tax.
jessicabarnes is offline   Reply With Quote
Old 10-03-2017, 04:49 AM   #15
AliceArifova
Registered User
 
Join Date: Sep 2016
Location: London
Posts: 1,030
Data encapsulation is the mechanism of data hiding, whereby the implementation details of a class are kept hidden from the user.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
AliceArifova is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is Data Encapsulation? chinmay.sahoo Programming General 11 04-12-2017 11:52 PM
Encapsulation chinmay.sahoo Programming General 1 10-19-2016 03:23 AM
Affordable Linux/Windows VPS - SSD/VMware/Xen/OpenVZ - CC/Paypal/Bitcoins AJKpeter Post your ad here 0 01-28-2015 12:39 AM
[UK/USA/EU/CA] VPS Servers in Locations, Linux/Windows/RDP/Root Access - Bitcoins AJKpeter Post your ad here 0 01-06-2015 01:09 AM
Cheap Linux/Windows VPS - SSD/VMware/Xen/OpenVZ - CC/Paypal/Bitcoins/Perfect Money AJKpeter Post your ad here 0 12-30-2014 01:07 AM


All times are GMT -7. The time now is 06:41 PM.


Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.